#8D62D2#8D62D2
#8D62D2 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.167 H 298.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8D62D2 |
|---|---|
| RGB | rgb(141, 98, 210) |
| HSL | hsl(263, 55%, 60%) |
| HSV | hsv(263, 53%, 82%) |
| CMYK | cmyk(32.9%, 53.3%, 0%, 17.6%) |
| CIE-LAB | lab(50.75, 40.91, -51.77) |
| CIE-LCH | lch(50.75, 65.98, 308.32°) |
| OKLab | oklab(59.25% 0.0809 -0.1463) |
| OKLCH | oklch(59.25% 0.167 298.9) |
| XYZ | xyz(26.9822, 19.0510, 63.2159) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.37
Mediumpurple
#9370DB
ΔE00 4.42
Deep Lavender
#8D5EB7
ΔE00 4.99
Amethyst
#9B5FC0
ΔE00 5.02
Lightish Purple
#A552E6
ΔE00 5.72
Lighter Purple
#A55AF4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D62D2 #A7D262
analogous
#626FD2 #8D62D2 #C562D2
triadic
#8D62D2 #D28D62 #62D28D
tetradic
#8D62D2 #D2626F #A7D262 #62D2C5
square
#8D62D2 #D2626F #A7D262 #62D2C5
split-complementary
#8D62D2 #D2C562 #6FD262
monochromatic
#512990 #6C37C0 #8D62D2 #B092E0 #D2C1ED
Accessibility & contrast
On white
4.37
#8D62D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#8D62D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D62D2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D62D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D62D2 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3679D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#7E7891
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8d62d2; /* rgb */ color: rgb(141, 98, 210); /* oklch */ color: oklch(59.2% 0.167 298.9);
Tailwind
colors: {
custom: {
50: '#b290e0',
500: '#8d62d2',
950: '#000000',
},
}SCSS
$custom: #8d62d2; $custom-light: #b290e0; $custom-dark: #000000;
JSON
{
"hex": "#8d62d2",
"rgb": {
"r": 141,
"g": 98,
"b": 210
},
"hsl": {
"h": 263.036,
"s": 55.446,
"l": 60.392
},
"oklch": {
"l": 0.59245,
"c": 0.16716,
"h": 298.9
},
"luminance": 0.19051
}Semantic roles & 50–950 ramp
primary
#8D62D2
secondary
#CDDDB3
accent
#C32385
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83