Export

Code

/* Violet Blue — colorset.net */
:root {
  --color-1: #4B0150;
  --color-2: #6B0F77;
  --color-3: #8B1C9E;
  --color-4: #A835C5;
  --color-5: #C563DC;

  --color-bg: #FDF3FF;
  --color-surface: #F4E9F6;
  --color-border: #DCD0DF;
  --color-text: #421944;
  --color-muted: #786479;
  --color-primary: #A835C5;
  --color-on-primary: #FFFFFF;
  --color-accent: #6B0F77;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #170A18;
    --color-surface: #221422;
    --color-border: #382739;
    --color-text: #B39CB9;
    --color-muted: #8E7C93;
    --color-primary: #A835C5;
    --color-on-primary: #FFFFFF;
    --color-accent: #904A94;
    --color-on-accent: #FFFFFF;
  }
}

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 #C563DCadjusted for contrast · from #4B0150
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4B0150adjusted for contrast · from #C563DC
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #8B1C9E
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.37:1AAA pass 4.5:1
Text on surface12.26:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.28:1AA pass 4.5:1
Label on accent10.71:1AAA pass 4.5:1
Primary on background4.88:1AA pass 3:1
Accent on background9.92:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.66:1AAA pass 4.5:1
Text on surface7.03:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.28:1AA pass 4.5:1
Label on accent5.84:1AA pass 4.5:1
Primary on background3.64:1AA Large pass 3:1
Accent on background3.29:1AA Large 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#4B0150 (Text 1)#6B0F77 (Text 2)#8B1C9E (Text 3)#A835C5 (Text 4)#C563DC (Text 5)
#4B0150Same color1.38—1.94—2.80—4.36AA Large
#6B0F771.38—Same color1.41—2.03—3.16AA Large
#8B1C9E1.94—1.41—Same color1.44—2.25—
#A835C52.80—2.03—1.44—Same color1.56—
#C563DC4.36AA Large3.16AA Large2.25—1.56—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4B0150#6B0F77#8B1C9E#A835C5#C563DC

Variations

About Violet Blue

Nearly all of the color weight in Violet Blue sits in purple, which makes it a cool palette anchored by vivid purple #8B1C9E. With a hue spread of just 7°, it is effectively monochromatic: #4B0150, #6B0F77 and #8B1C9E differ mostly in lightness. Lightness spans 29% (#4B0150) to 66% (#C563DC), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.186, peaking at 0.223 in #A835C5); the colors feel saturated and energetic. In light mode #FDF3FF becomes the background with #421944 text at 13.4:1, and #A835C5 takes the primary role. Try it for premium products, music and nightlife and creative studios, letting vivid purple #A835C5 carry the key actions.

Violet Blue color palette: #4B0150, #6B0F77, #8B1C9E, #A835C5, #C563DC
Share image for Violet Blue

Gradients in similar colors