#8A66F6#8A66F6
#8A66F6 is a mid, highly saturated violet. Relative luminance 0.216; OKLCH L 62.0% C 0.206 H 290.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A66F6 |
|---|---|
| RGB | rgb(138, 102, 246) |
| HSL | hsl(255, 89%, 68%) |
| HSV | hsv(255, 59%, 96%) |
| CMYK | cmyk(43.9%, 58.5%, 0%, 3.5%) |
| CIE-LAB | lab(53.56, 47.53, -67.53) |
| CIE-LCH | lch(53.56, 82.58, 305.14°) |
| OKLab | oklab(61.96% 0.0726 -0.1927) |
| OKLCH | oklch(61.96% 0.206 290.6) |
| XYZ | xyz(31.8625, 21.5588, 89.6534) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.86
Mediumpurple
#9370DB
ΔE00 5.26
Purpley
#8756E4
ΔE00 5.29
Lighter Purple
#A55AF4
ΔE00 5.39
Lightish Purple
#A552E6
ΔE00 7.21
Light Urple
#B36FF6
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A66F6 #D2F666
analogous
#668AF6 #8A66F6 #D266F6
triadic
#8A66F6 #F68A66 #66F68A
tetradic
#8A66F6 #F6668A #D2F666 #66F6D2
square
#8A66F6 #F6668A #D2F666 #66F6D2
split-complementary
#8A66F6 #F6D266 #8AF666
monochromatic
#3F0DD5 #5E2CF3 #8A66F6 #B6A0F9 #E2DAFD
Accessibility & contrast
On white
3.95
#8A66F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#8A66F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A66F6
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A66F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A66F6 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#6A86A4
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a66f6; /* rgb */ color: rgb(138, 102, 246); /* oklch */ color: oklch(62.0% 0.206 290.6);
Tailwind
colors: {
custom: {
50: '#b393fa',
500: '#8a66f6',
950: '#000000',
},
}SCSS
$custom: #8a66f6; $custom-light: #b393fa; $custom-dark: #000000;
JSON
{
"hex": "#8a66f6",
"rgb": {
"r": 138,
"g": 102,
"b": 246
},
"hsl": {
"h": 255,
"s": 88.889,
"l": 68.235
},
"oklch": {
"l": 0.61962,
"c": 0.20591,
"h": 290.6
},
"luminance": 0.2156
}Semantic roles & 50–950 ramp
primary
#8A66F6
secondary
#E7F2C6
accent
#E600AC
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85