#5733E2#5733E2
#5733E2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.243 H 282.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5733E2 |
|---|---|
| RGB | rgb(87, 51, 226) |
| HSL | hsl(252, 75%, 54%) |
| HSV | hsv(252, 77%, 89%) |
| CMYK | cmyk(61.5%, 77.4%, 0%, 11.4%) |
| CIE-LAB | lab(37.63, 60.34, -82.46) |
| CIE-LCH | lch(37.63, 102.18, 306.20°) |
| OKLab | oklab(48.94% 0.0507 -0.2379) |
| OKLCH | oklch(48.94% 0.243 282) |
| XYZ | xyz(18.8375, 9.8835, 72.8518) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 1.31
Burple
#6832E3
ΔE00 2.19
Blurple
#5539CC
ΔE00 2.82
Purplish Blue
#601EF9
ΔE00 3.37
Purply Blue
#661AEE
ΔE00 3.42
Light Royal Blue
#3A2EFE
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5733E2 #BEE233
analogous
#3367E2 #5733E2 #AF33E2
triadic
#5733E2 #E25733 #33E257
tetradic
#5733E2 #E23367 #BEE233 #33E2AF
square
#5733E2 #E23367 #BEE233 #33E2AF
split-complementary
#5733E2 #E2AF33 #67E233
monochromatic
#2B1387 #3C1BBD #5733E2 #8369EA #AF9EF1
Accessibility & contrast
On white
7.05
#5733E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#5733E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5733E2
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5733E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5733E2 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#0052DF
Tritanopia (blue-blind)
#00678A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5733e2; /* rgb */ color: rgb(87, 51, 226); /* oklch */ color: oklch(48.9% 0.243 282.0);
Tailwind
colors: {
custom: {
50: '#9770ed',
500: '#5733e2',
950: '#000000',
},
}SCSS
$custom: #5733e2; $custom-light: #9770ed; $custom-dark: #000000;
JSON
{
"hex": "#5733e2",
"rgb": {
"r": 87,
"g": 51,
"b": 226
},
"hsl": {
"h": 252.343,
"s": 75.107,
"l": 54.314
},
"oklch": {
"l": 0.48938,
"c": 0.24321,
"h": 282
},
"luminance": 0.09885
}Semantic roles & 50–950 ramp
primary
#5733E2
secondary
#CEDE93
accent
#F236CB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84