#8E62F2#8E62F2
#8E62F2 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.4% C 0.206 H 293.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8E62F2 |
|---|---|
| RGB | rgb(142, 98, 242) |
| HSL | hsl(258, 85%, 67%) |
| HSV | hsv(258, 60%, 95%) |
| CMYK | cmyk(41.3%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(52.84, 49.48, -66.45) |
| CIE-LCH | lch(52.84, 82.85, 306.67°) |
| OKLab | oklab(61.44% 0.0822 -0.1894) |
| OKLCH | oklch(61.44% 0.206 293.5) |
| XYZ | xyz(31.5457, 20.8961, 86.3585) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.77
Purpley
#8756E4
ΔE00 4.19
Lighter Purple
#A55AF4
ΔE00 4.25
Mediumpurple
#9370DB
ΔE00 5.23
Lightish Purple
#A552E6
ΔE00 5.80
Light Urple
#B36FF6
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E62F2 #C6F262
analogous
#627EF2 #8E62F2 #D662F2
triadic
#8E62F2 #F28E62 #62F28E
tetradic
#8E62F2 #F2627E #C6F262 #62F2D6
square
#8E62F2 #F2627E #C6F262 #62F2D6
split-complementary
#8E62F2 #F2D662 #7EF262
monochromatic
#4911C9 #6529ED #8E62F2 #B79BF7 #DFD3FB
Accessibility & contrast
On white
4.05
#8E62F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#8E62F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E62F2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E62F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E62F2 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#077CEF
Tritanopia (blue-blind)
#7382A1
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e62f2; /* rgb */ color: rgb(142, 98, 242); /* oklch */ color: oklch(61.4% 0.206 293.5);
Tailwind
colors: {
custom: {
50: '#b590f7',
500: '#8e62f2',
950: '#000000',
},
}SCSS
$custom: #8e62f2; $custom-light: #b590f7; $custom-dark: #000000;
JSON
{
"hex": "#8e62f2",
"rgb": {
"r": 142,
"g": 98,
"b": 242
},
"hsl": {
"h": 258.333,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.61441,
"c": 0.20647,
"h": 293.5
},
"luminance": 0.20897
}Semantic roles & 50–950 ramp
primary
#8E62F2
secondary
#E1EFC1
accent
#E1049E
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85