#8D62E7#8D62E7
#8D62E7 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.193 H 294.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D62E7 |
|---|---|
| RGB | rgb(141, 98, 231) |
| HSL | hsl(259, 73%, 65%) |
| HSV | hsv(259, 58%, 91%) |
| CMYK | cmyk(39%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(52.03, 46.36, -61.60) |
| CIE-LCH | lch(52.03, 77.09, 306.96°) |
| OKLab | oklab(60.6% 0.0813 -0.1752) |
| OKLCH | oklch(60.6% 0.193 294.9) |
| XYZ | xyz(29.7722, 20.1670, 77.9098) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.50
Mediumslateblue
#7B68EE
ΔE00 3.99
Lighter Purple
#A55AF4
ΔE00 4.55
Mediumpurple
#9370DB
ΔE00 4.55
Lightish Purple
#A552E6
ΔE00 5.45
Light Indigo
#6D5ACF
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D62E7 #BCE762
analogous
#627AE7 #8D62E7 #CF62E7
triadic
#8D62E7 #E78D62 #62E78D
tetradic
#8D62E7 #E7627A #BCE762 #62E7CF
square
#8D62E7 #E7627A #BCE762 #62E7CF
split-complementary
#8D62E7 #E7CF62 #7AE762
monochromatic
#4C1BB3 #662DDF #8D62E7 #B497EF #DACCF7
Accessibility & contrast
On white
4.17
#8D62E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8D62E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D62E7
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D62E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D62E7 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#117DEB
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#767F9B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d62e7; /* rgb */ color: rgb(141, 98, 231); /* oklch */ color: oklch(60.6% 0.193 294.9);
Tailwind
colors: {
custom: {
50: '#b390ef',
500: '#8d62e7',
950: '#000000',
},
}SCSS
$custom: #8d62e7; $custom-light: #b390ef; $custom-dark: #000000;
JSON
{
"hex": "#8d62e7",
"rgb": {
"r": 141,
"g": 98,
"b": 231
},
"hsl": {
"h": 259.398,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.60598,
"c": 0.19309,
"h": 294.9
},
"luminance": 0.20168
}Semantic roles & 50–950 ramp
primary
#8D62E7
secondary
#DBE9BB
accent
#D61096
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85