#8D62F6#8D62F6
#8D62F6 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.6% C 0.211 H 292.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8D62F6 |
|---|---|
| RGB | rgb(141, 98, 246) |
| HSL | hsl(257, 89%, 67%) |
| HSV | hsv(257, 60%, 96%) |
| CMYK | cmyk(42.7%, 60.2%, 0%, 3.5%) |
| CIE-LAB | lab(53.01, 50.33, -68.41) |
| CIE-LCH | lch(53.01, 84.93, 306.35°) |
| OKLab | oklab(61.63% 0.0808 -0.1952) |
| OKLCH | oklch(61.63% 0.211 292.5) |
| XYZ | xyz(31.9822, 21.0510, 89.5491) |
| Luminance | 0.2105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.64
Purpley
#8756E4
ΔE00 4.47
Lighter Purple
#A55AF4
ΔE00 4.48
Mediumpurple
#9370DB
ΔE00 5.61
Lightish Purple
#A552E6
ΔE00 6.17
Light Urple
#B36FF6
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D62F6 #CBF662
analogous
#6281F6 #8D62F6 #D762F6
triadic
#8D62F6 #F68D62 #62F68D
tetradic
#8D62F6 #F66281 #CBF662 #62F6D7
square
#8D62F6 #F66281 #CBF662 #62F6D7
split-complementary
#8D62F6 #F6D762 #81F662
monochromatic
#450CD2 #6328F3 #8D62F6 #B79CF9 #E1D6FD
Accessibility & contrast
On white
4.03
#8D62F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#8D62F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D62F6
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D62F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D62F6 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#6F83A3
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8d62f6; /* rgb */ color: rgb(141, 98, 246); /* oklch */ color: oklch(61.6% 0.211 292.5);
Tailwind
colors: {
custom: {
50: '#b590fa',
500: '#8d62f6',
950: '#000000',
},
}SCSS
$custom: #8d62f6; $custom-light: #b590fa; $custom-dark: #000000;
JSON
{
"hex": "#8d62f6",
"rgb": {
"r": 141,
"g": 98,
"b": 246
},
"hsl": {
"h": 257.432,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.61626,
"c": 0.21123,
"h": 292.5
},
"luminance": 0.21052
}Semantic roles & 50–950 ramp
primary
#8D62F6
secondary
#E4F1C3
accent
#E600A3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85