#8A6FE1#8A6FE1
#8A6FE1 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.1% C 0.167 H 291.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FE1 |
|---|---|
| RGB | rgb(138, 111, 225) |
| HSL | hsl(254, 66%, 66%) |
| HSV | hsv(254, 51%, 88%) |
| CMYK | cmyk(38.7%, 50.7%, 0%, 11.8%) |
| CIE-LAB | lab(54.25, 36.71, -54.68) |
| CIE-LCH | lch(54.25, 65.86, 303.87°) |
| OKLab | oklab(62.06% 0.0617 -0.1549) |
| OKLCH | oklch(62.06% 0.167 291.7) |
| XYZ | xyz(29.7526, 22.2076, 73.9385) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.30
Mediumslateblue
#7B68EE
ΔE00 3.95
Periwinkle (survey)
#8E82FE
ΔE00 6.89
Purpley
#8756E4
ΔE00 7.00
Lighter Purple
#A55AF4
ΔE00 7.19
Deep Lilac
#966EBD
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FE1 #C6E16F
analogous
#6F8DE1 #8A6FE1 #C36FE1
triadic
#8A6FE1 #E18A6F #6FE18A
tetradic
#8A6FE1 #E16F8D #C6E16F #6FE1C3
square
#8A6FE1 #E16F8D #C6E16F #6FE1C3
split-complementary
#8A6FE1 #E1C36F #8DE16F
monochromatic
#4625B1 #613CD6 #8A6FE1 #B3A2EC #DCD4F6
Accessibility & contrast
On white
3.86
#8A6FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#8A6FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FE1
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FE1 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4083E5
Deuteranopia (green-blind)
#447FDE
Tritanopia (blue-blind)
#73869E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a6fe1; /* rgb */ color: rgb(138, 111, 225); /* oklch */ color: oklch(62.1% 0.167 291.7);
Tailwind
colors: {
custom: {
50: '#b099eb',
500: '#8a6fe1',
950: '#000000',
},
}SCSS
$custom: #8a6fe1; $custom-light: #b099eb; $custom-dark: #000000;
JSON
{
"hex": "#8a6fe1",
"rgb": {
"r": 138,
"g": 111,
"b": 225
},
"hsl": {
"h": 254.211,
"s": 65.517,
"l": 65.882
},
"oklch": {
"l": 0.62058,
"c": 0.16672,
"h": 291.7
},
"luminance": 0.22208
}Semantic roles & 50–950 ramp
primary
#8A6FE1
secondary
#E0E9C3
accent
#CD18A2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84