Export

Code

/* Violet Flame — colorset.net */
:root {
  --color-1: #7F00FF;
  --color-2: #8B00FF;
  --color-3: #9400D3;
  --color-4: #9F00FF;
  --color-5: #B19CD9;

  --color-bg: #F8F5FF;
  --color-surface: #EFEBF9;
  --color-border: #D7D2E3;
  --color-text: #604276;
  --color-muted: #73667E;
  --color-primary: #9F00FF;
  --color-on-primary: #FFFFFF;
  --color-accent: #806CA5;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #140B1B;
    --color-surface: #1E1526;
    --color-border: #34283D;
    --color-text: #ADA2C4;
    --color-muted: #857D97;
    --color-primary: #9F00FF;
    --color-on-primary: #FFFFFF;
    --color-accent: #C18CFF;
    --color-on-accent: #140B1B;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #B19CD9adjusted for contrast · from #9400D3
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #9400D3adjusted for contrast · from #B19CD9
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentadjusted for contrast · from #B19CD9adjusted for contrast · from #B19CD9
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.68:1AAA pass 4.5:1
Text on surface7.06:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary5.36:1AA pass 4.5:1
Label on accent4.56:1AA pass 4.5:1
Primary on background4.98:1AA pass 3:1
Accent on background4.23:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.00:1AAA pass 4.5:1
Text on surface7.34:1AAA pass 4.5:1
Muted text on background4.92:1AA pass 4.5:1
Label on primary5.36:1AA pass 4.5:1
Label on accent7.74:1AAA pass 4.5:1
Primary on background3.58:1AA Large pass 3:1
Accent on background7.74:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#7F00FF (Text 1)#8B00FF (Text 2)#9400D3 (Text 3)#9F00FF (Text 4)#B19CD9 (Text 5)
#7F00FFSame color1.06—1.05—1.17—2.58—
#8B00FF1.06—Same color1.11—1.11—2.44—
#9400D31.05—1.11—Same color1.22—2.70—
#9F00FF1.17—1.11—1.22—Same color2.20—
#B19CD92.58—2.44—2.70—2.20—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#7F00FF#8B00FF#9400D3#9F00FF#B19CD9

Variations

About Violet Flame

Violet Flame is a cool purple palette of 5 colors that runs from purple #B19CD9 to vivid purple #9400D3. With a hue spread of just 16°, it is effectively monochromatic: #7F00FF, #8B00FF and #9400D3 differ mostly in lightness. All five colors stay in a narrow mid-tone band (51% to 73% lightness, #9400D3 to #B19CD9), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.247, peaking at 0.297 in #9F00FF); the colors feel saturated and energetic. In light mode #F8F5FF becomes the background with #604276 text at 7.7:1, and #9F00FF takes the primary role. Its vivid and neon character, led by #9F00FF, suits icons and logos, typography-led layouts and beauty brands.

Violet Flame color palette: #7F00FF, #8B00FF, #9400D3, #9F00FF, #B19CD9
Share image for Violet Flame

Gradients in similar colors