#8A6FEE#8A6FEE
#8A6FEE is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.9% C 0.184 H 289.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FEE |
|---|---|
| RGB | rgb(138, 111, 238) |
| HSL | hsl(253, 79%, 68%) |
| HSV | hsv(253, 53%, 93%) |
| CMYK | cmyk(42%, 53.4%, 0%, 6.7%) |
| CIE-LAB | lab(55.01, 40.26, -60.73) |
| CIE-LCH | lch(55.01, 72.86, 303.54°) |
| OKLab | oklab(62.88% 0.0624 -0.1727) |
| OKLCH | oklch(62.88% 0.184 289.9) |
| XYZ | xyz(31.5940, 22.9442, 83.6364) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.28
Mediumpurple
#9370DB
ΔE00 3.75
Periwinkle (survey)
#8E82FE
ΔE00 5.88
Lighter Purple
#A55AF4
ΔE00 6.91
Cornflower
#6A79F7
ΔE00 7.14
Purpley
#8756E4
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FEE #D3EE6F
analogous
#6F93EE #8A6FEE #C96FEE
triadic
#8A6FEE #EE8A6F #6FEE8A
tetradic
#8A6FEE #EE6F93 #D3EE6F #6FEEC9
square
#8A6FEE #EE6F93 #D3EE6F #6FEEC9
split-complementary
#8A6FEE #EEC96F #93EE6F
monochromatic
#3E18CB #5E38E8 #8A6FEE #B6A6F4 #E3DCFB
Accessibility & contrast
On white
3.76
#8A6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#8A6FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FEE
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FEE | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3186F2
Deuteranopia (green-blind)
#3581EB
Tritanopia (blue-blind)
#6D8AA4
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a6fee; /* rgb */ color: rgb(138, 111, 238); /* oklch */ color: oklch(62.9% 0.184 289.9);
Tailwind
colors: {
custom: {
50: '#b299f4',
500: '#8a6fee',
950: '#000000',
},
}SCSS
$custom: #8a6fee; $custom-light: #b299f4; $custom-dark: #000000;
JSON
{
"hex": "#8a6fee",
"rgb": {
"r": 138,
"g": 111,
"b": 238
},
"hsl": {
"h": 252.756,
"s": 78.882,
"l": 68.431
},
"oklch": {
"l": 0.62877,
"c": 0.18358,
"h": 289.9
},
"luminance": 0.22945
}Semantic roles & 50–950 ramp
primary
#8A6FEE
secondary
#E7F0C9
accent
#DB0AAF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85