#8A6DEE#8A6DEE
#8A6DEE is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.5% C 0.186 H 290.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6DEE |
|---|---|
| RGB | rgb(138, 109, 238) |
| HSL | hsl(253, 79%, 68%) |
| HSV | hsv(253, 54%, 93%) |
| CMYK | cmyk(42%, 54.2%, 0%, 6.7%) |
| CIE-LAB | lab(54.57, 41.40, -61.45) |
| CIE-LCH | lch(54.57, 74.09, 303.97°) |
| OKLab | oklab(62.54% 0.0647 -0.1748) |
| OKLCH | oklch(62.54% 0.186 290.3) |
| XYZ | xyz(31.3782, 22.5126, 83.5644) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.00
Mediumpurple
#9370DB
ΔE00 3.79
Periwinkle (survey)
#8E82FE
ΔE00 6.42
Lighter Purple
#A55AF4
ΔE00 6.49
Purpley
#8756E4
ΔE00 6.64
Cornflower
#6A79F7
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6DEE #D1EE6D
analogous
#6D91EE #8A6DEE #CA6DEE
triadic
#8A6DEE #EE8A6D #6DEE8A
tetradic
#8A6DEE #EE6D91 #D1EE6D #6DEECA
square
#8A6DEE #EE6D91 #D1EE6D #6DEECA
split-complementary
#8A6DEE #EECA6D #91EE6D
monochromatic
#3F17C9 #5E36E8 #8A6DEE #B6A4F4 #E2DBFB
Accessibility & contrast
On white
3.82
#8A6DEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#8A6DEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6DEE
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6DEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6DEE | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#3080EB
Tritanopia (blue-blind)
#6E89A3
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8a6dee; /* rgb */ color: rgb(138, 109, 238); /* oklch */ color: oklch(62.5% 0.186 290.3);
Tailwind
colors: {
custom: {
50: '#b297f4',
500: '#8a6dee',
950: '#000000',
},
}SCSS
$custom: #8a6dee; $custom-light: #b297f4; $custom-dark: #000000;
JSON
{
"hex": "#8a6dee",
"rgb": {
"r": 138,
"g": 109,
"b": 238
},
"hsl": {
"h": 253.488,
"s": 79.141,
"l": 68.039
},
"oklch": {
"l": 0.62544,
"c": 0.18638,
"h": 290.3
},
"luminance": 0.22514
}Semantic roles & 50–950 ramp
primary
#8A6DEE
secondary
#E6EFC8
accent
#DB0AAC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85