#5E2FE2#5E2FE2
#5E2FE2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.246 H 284.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2FE2 |
|---|---|
| RGB | rgb(94, 47, 226) |
| HSL | hsl(256, 76%, 54%) |
| HSV | hsv(256, 79%, 89%) |
| CMYK | cmyk(58.4%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(37.67, 62.84, -82.38) |
| CIE-LCH | lch(37.67, 103.61, 307.34°) |
| OKLab | oklab(49.12% 0.0631 -0.2374) |
| OKLCH | oklch(49.12% 0.246 284.9) |
| XYZ | xyz(19.3559, 9.9025, 72.8282) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 1.24
Burple
#6832E3
ΔE00 1.52
Purply Blue
#661AEE
ΔE00 2.56
Purplish Blue
#601EF9
ΔE00 2.82
Blurple
#5539CC
ΔE00 3.30
Purple Blue
#5D21D0
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2FE2 #B3E22F
analogous
#2F59E2 #5E2FE2 #B72FE2
triadic
#5E2FE2 #E25E2F #2FE25E
tetradic
#5E2FE2 #E22F59 #B3E22F #2FE2B7
square
#5E2FE2 #E22F59 #B3E22F #2FE2B7
split-complementary
#5E2FE2 #E2B72F #59E22F
monochromatic
#301284 #441ABA #5E2FE2 #8865E9 #B19AF1
Accessibility & contrast
On white
7.05
#5E2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#5E2FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2FE2
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2FE2 | 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)
#005DE7
Deuteranopia (green-blind)
#0053DF
Tritanopia (blue-blind)
#086589
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5e2fe2; /* rgb */ color: rgb(94, 47, 226); /* oklch */ color: oklch(49.1% 0.246 284.9);
Tailwind
colors: {
custom: {
50: '#9b6fed',
500: '#5e2fe2',
950: '#000000',
},
}SCSS
$custom: #5e2fe2; $custom-light: #9b6fed; $custom-dark: #000000;
JSON
{
"hex": "#5e2fe2",
"rgb": {
"r": 94,
"g": 47,
"b": 226
},
"hsl": {
"h": 255.754,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.49117,
"c": 0.24565,
"h": 284.9
},
"luminance": 0.09904
}Semantic roles & 50–950 ramp
primary
#5E2FE2
secondary
#C9DD90
accent
#F236C1
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#100816
muted
#7F7B84