#8A6FEA#8A6FEA
#8A6FEA is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.6% C 0.178 H 290.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FEA |
|---|---|
| RGB | rgb(138, 111, 234) |
| HSL | hsl(253, 75%, 68%) |
| HSV | hsv(253, 53%, 92%) |
| CMYK | cmyk(41%, 52.6%, 0%, 8.2%) |
| CIE-LAB | lab(54.77, 39.16, -58.88) |
| CIE-LCH | lch(54.77, 70.71, 303.63°) |
| OKLab | oklab(62.62% 0.0622 -0.1672) |
| OKLCH | oklch(62.62% 0.178 290.4) |
| XYZ | xyz(31.0129, 22.7117, 80.5757) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.27
Mediumslateblue
#7B68EE
ΔE00 3.37
Periwinkle (survey)
#8E82FE
ΔE00 6.14
Lighter Purple
#A55AF4
ΔE00 6.94
Purpley
#8756E4
ΔE00 7.08
Cornflower
#6A79F7
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FEA #CFEA6F
analogous
#6F91EA #8A6FEA #C86FEA
triadic
#8A6FEA #EA8A6F #6FEA8A
tetradic
#8A6FEA #EA6F91 #CFEA6F #6FEAC8
square
#8A6FEA #EA6F91 #CFEA6F #6FEAC8
split-complementary
#8A6FEA #EAC86F #91EA6F
monochromatic
#411CC2 #5F3AE2 #8A6FEA #B5A4F2 #E1DAFA
Accessibility & contrast
On white
3.79
#8A6FEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#8A6FEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FEA
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FEA | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#3A80E7
Tritanopia (blue-blind)
#6F89A2
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8a6fea; /* rgb */ color: rgb(138, 111, 234); /* oklch */ color: oklch(62.6% 0.178 290.4);
Tailwind
colors: {
custom: {
50: '#b199f1',
500: '#8a6fea',
950: '#000000',
},
}SCSS
$custom: #8a6fea; $custom-light: #b199f1; $custom-dark: #000000;
JSON
{
"hex": "#8a6fea",
"rgb": {
"r": 138,
"g": 111,
"b": 234
},
"hsl": {
"h": 253.171,
"s": 74.545,
"l": 67.647
},
"oklch": {
"l": 0.62621,
"c": 0.17843,
"h": 290.4
},
"luminance": 0.22713
}Semantic roles & 50–950 ramp
primary
#8A6FEA
secondary
#E5EDC7
accent
#D70FAB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85