#5830C9#5830C9
#5830C9 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.218 H 286.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5830C9 |
|---|---|
| RGB | rgb(88, 48, 201) |
| HSL | hsl(256, 61%, 49%) |
| HSV | hsv(256, 76%, 79%) |
| CMYK | cmyk(56.2%, 76.1%, 0%, 21.2%) |
| CIE-LAB | lab(34.81, 54.86, -72.68) |
| CIE-LCH | lch(34.81, 91.06, 307.05°) |
| OKLab | oklab(46.26% 0.0609 -0.2092) |
| OKLCH | oklch(46.26% 0.218 286.2) |
| XYZ | xyz(15.6209, 8.4048, 56.0462) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.01
Purple Blue
#5D21D0
ΔE00 2.39
Blue With A Hint Of Purple
#533CC6
ΔE00 2.69
Bluey Purple
#6241C7
ΔE00 3.97
Burple
#6832E3
ΔE00 4.25
Purpley Blue
#5F34E7
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5830C9 #A1C930
analogous
#3055C9 #5830C9 #A530C9
triadic
#5830C9 #C95830 #30C958
tetradic
#5830C9 #C93055 #A1C930 #30C9A5
square
#5830C9 #C93055 #A1C930 #30C9A5
split-complementary
#5830C9 #C9A530 #55C930
monochromatic
#2D1866 #422498 #5830C9 #7E5ED8 #A58FE4
Accessibility & contrast
On white
7.83
#5830C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#5830C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5830C9
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5830C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5830C9 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#225C7B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5830c9; /* rgb */ color: rgb(88, 48, 201); /* oklch */ color: oklch(46.3% 0.218 286.2);
Tailwind
colors: {
custom: {
50: '#936ddb',
500: '#5830c9',
950: '#000000',
},
}SCSS
$custom: #5830c9; $custom-light: #936ddb; $custom-dark: #000000;
JSON
{
"hex": "#5830c9",
"rgb": {
"r": 88,
"g": 48,
"b": 201
},
"hsl": {
"h": 255.686,
"s": 61.446,
"l": 48.824
},
"oklch": {
"l": 0.46262,
"c": 0.21794,
"h": 286.2
},
"luminance": 0.08406
}Semantic roles & 50–950 ramp
primary
#5830C9
secondary
#BCCF86
accent
#E543BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83