#8A6EF7#8A6EF7
#8A6EF7 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.196 H 288.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6EF7 |
|---|---|
| RGB | rgb(138, 110, 247) |
| HSL | hsl(252, 90%, 70%) |
| HSV | hsv(252, 55%, 97%) |
| CMYK | cmyk(44.1%, 55.5%, 0%, 3.1%) |
| CIE-LAB | lab(55.35, 43.32, -65.19) |
| CIE-LCH | lch(55.35, 78.27, 303.60°) |
| OKLab | oklab(63.3% 0.0637 -0.1858) |
| OKLCH | oklch(63.3% 0.196 288.9) |
| XYZ | xyz(32.8409, 23.2693, 90.7387) |
| Luminance | 0.2327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.31
Mediumpurple
#9370DB
ΔE00 4.84
Periwinkle (survey)
#8E82FE
ΔE00 5.74
Lighter Purple
#A55AF4
ΔE00 6.79
Cornflower
#6A79F7
ΔE00 6.99
Purpley
#8756E4
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6EF7 #DBF76E
analogous
#6E96F7 #8A6EF7 #CF6EF7
triadic
#8A6EF7 #F78A6E #6EF78A
tetradic
#8A6EF7 #F76E96 #DBF76E #6EF7CF
square
#8A6EF7 #F76E96 #DBF76E #6EF7CF
split-complementary
#8A6EF7 #F7CF6E #96F76E
monochromatic
#370CDE #5B34F4 #8A6EF7 #B9A8FA #E8E2FD
Accessibility & contrast
On white
3.71
#8A6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#8A6EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6EF7
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6EF7 | 1.00 | 3.71 | 5.65 | 5.65 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D87FC
Deuteranopia (green-blind)
#2181F4
Tritanopia (blue-blind)
#698CA8
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a6ef7; /* rgb */ color: rgb(138, 110, 247); /* oklch */ color: oklch(63.3% 0.196 288.9);
Tailwind
colors: {
custom: {
50: '#b298fb',
500: '#8a6ef7',
950: '#000000',
},
}SCSS
$custom: #8a6ef7; $custom-light: #b298fb; $custom-dark: #000000;
JSON
{
"hex": "#8a6ef7",
"rgb": {
"r": 138,
"g": 110,
"b": 247
},
"hsl": {
"h": 252.263,
"s": 89.542,
"l": 70
},
"oklch": {
"l": 0.63302,
"c": 0.19642,
"h": 288.9
},
"luminance": 0.23271
}Semantic roles & 50–950 ramp
primary
#8A6EF7
secondary
#ECF4CD
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85