#8E62F7#8E62F7
#8E62F7 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.8% C 0.212 H 292.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8E62F7 |
|---|---|
| RGB | rgb(142, 98, 247) |
| HSL | hsl(258, 90%, 68%) |
| HSV | hsv(258, 60%, 97%) |
| CMYK | cmyk(42.5%, 60.3%, 0%, 3.1%) |
| CIE-LAB | lab(53.17, 50.80, -68.70) |
| CIE-LCH | lch(53.17, 85.44, 306.48°) |
| OKLab | oklab(61.79% 0.082 -0.196) |
| OKLCH | oklch(61.79% 0.212 292.7) |
| XYZ | xyz(32.3069, 21.2006, 90.3676) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.80
Lighter Purple
#A55AF4
ΔE00 4.35
Purpley
#8756E4
ΔE00 4.61
Mediumpurple
#9370DB
ΔE00 5.64
Lightish Purple
#A552E6
ΔE00 6.12
Light Urple
#B36FF6
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E62F7 #CBF762
analogous
#6281F7 #8E62F7 #D862F7
triadic
#8E62F7 #F78E62 #62F78E
tetradic
#8E62F7 #F76281 #CBF762 #62F7D8
square
#8E62F7 #F76281 #CBF762 #62F7D8
split-complementary
#8E62F7 #F7D862 #81F762
monochromatic
#460BD4 #6428F4 #8E62F7 #B89CFA #E2D6FD
Accessibility & contrast
On white
4.01
#8E62F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8E62F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E62F7
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E62F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E62F7 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#7184A3
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8e62f7; /* rgb */ color: rgb(142, 98, 247); /* oklch */ color: oklch(61.8% 0.212 292.7);
Tailwind
colors: {
custom: {
50: '#b690fb',
500: '#8e62f7',
950: '#000000',
},
}SCSS
$custom: #8e62f7; $custom-light: #b690fb; $custom-dark: #000000;
JSON
{
"hex": "#8e62f7",
"rgb": {
"r": 142,
"g": 98,
"b": 247
},
"hsl": {
"h": 257.718,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.61789,
"c": 0.21246,
"h": 292.7
},
"luminance": 0.21202
}Semantic roles & 50–950 ramp
primary
#8E62F7
secondary
#E4F2C3
accent
#E600A2
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85