#5933E2#5933E2
#5933E2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.243 H 282.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5933E2 |
|---|---|
| RGB | rgb(89, 51, 226) |
| HSL | hsl(253, 75%, 54%) |
| HSV | hsv(253, 77%, 89%) |
| CMYK | cmyk(60.6%, 77.4%, 0%, 11.4%) |
| CIE-LAB | lab(37.81, 60.56, -82.16) |
| CIE-LCH | lch(37.81, 102.07, 306.39°) |
| OKLab | oklab(49.1% 0.0536 -0.2369) |
| OKLCH | oklch(49.1% 0.243 282.7) |
| XYZ | xyz(19.0268, 9.9812, 72.8607) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 1.11
Burple
#6832E3
ΔE00 1.95
Blurple
#5539CC
ΔE00 2.89
Purplish Blue
#601EF9
ΔE00 3.29
Purply Blue
#661AEE
ΔE00 3.31
Light Royal Blue
#3A2EFE
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5933E2 #BCE233
analogous
#3364E2 #5933E2 #B133E2
triadic
#5933E2 #E25933 #33E259
tetradic
#5933E2 #E23364 #BCE233 #33E2B1
square
#5933E2 #E23364 #BCE233 #33E2B1
split-complementary
#5933E2 #E2B133 #64E233
monochromatic
#2C1387 #3E1BBD #5933E2 #8569EA #B09EF1
Accessibility & contrast
On white
7.01
#5933E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#5933E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5933E2
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5933E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5933E2 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#0053DF
Tritanopia (blue-blind)
#00678A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5933e2; /* rgb */ color: rgb(89, 51, 226); /* oklch */ color: oklch(49.1% 0.243 282.7);
Tailwind
colors: {
custom: {
50: '#9870ed',
500: '#5933e2',
950: '#000000',
},
}SCSS
$custom: #5933e2; $custom-light: #9870ed; $custom-dark: #000000;
JSON
{
"hex": "#5933e2",
"rgb": {
"r": 89,
"g": 51,
"b": 226
},
"hsl": {
"h": 253.029,
"s": 75.107,
"l": 54.314
},
"oklch": {
"l": 0.49103,
"c": 0.24292,
"h": 282.7
},
"luminance": 0.09982
}Semantic roles & 50–950 ramp
primary
#5933E2
secondary
#CDDE93
accent
#F236C9
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84