#5933EF#5933EF
#5933EF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.4% C 0.257 H 281.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5933EF |
|---|---|
| RGB | rgb(89, 51, 239) |
| HSL | hsl(252, 85%, 57%) |
| HSV | hsv(252, 79%, 94%) |
| CMYK | cmyk(62.8%, 78.7%, 0%, 6.3%) |
| CIE-LAB | lab(39.11, 64.15, -87.40) |
| CIE-LCH | lch(39.11, 108.42, 306.28°) |
| OKLab | oklab(50.39% 0.0499 -0.2522) |
| OKLCH | oklch(50.39% 0.257 281.2) |
| XYZ | xyz(20.8787, 10.7219, 82.6139) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 1.05
Burple
#6832E3
ΔE00 2.17
Purplish Blue
#601EF9
ΔE00 2.62
Light Royal Blue
#3A2EFE
ΔE00 2.76
Purpleish Blue
#6140EF
ΔE00 2.78
Purply Blue
#661AEE
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5933EF #C9EF33
analogous
#336BEF #5933EF #B733EF
triadic
#5933EF #EF5933 #33EF59
tetradic
#5933EF #EF336B #C9EF33 #33EFB7
square
#5933EF #EF336B #C9EF33 #33EFB7
split-complementary
#5933EF #EFB733 #6BEF33
monochromatic
#290C9B #3811D4 #5933EF #876CF3 #B5A4F8
Accessibility & contrast
On white
6.68
#5933EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#5933EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5933EF
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5933EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5933EF | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062F4
Deuteranopia (green-blind)
#0055EC
Tritanopia (blue-blind)
#006C92
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5933ef; /* rgb */ color: rgb(89, 51, 239); /* oklch */ color: oklch(50.4% 0.257 281.2);
Tailwind
colors: {
custom: {
50: '#9a71f6',
500: '#5933ef',
950: '#000000',
},
}SCSS
$custom: #5933ef; $custom-light: #9a71f6; $custom-dark: #000000;
JSON
{
"hex": "#5933ef",
"rgb": {
"r": 89,
"g": 51,
"b": 239
},
"hsl": {
"h": 252.128,
"s": 85.455,
"l": 56.863
},
"oklch": {
"l": 0.50393,
"c": 0.25711,
"h": 281.2
},
"luminance": 0.10723
}Semantic roles & 50–950 ramp
primary
#5933EF
secondary
#D6E599
accent
#FC2CD2
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100817
muted
#7F7B85