#8A66C2#8A66C2
#8A66C2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.7% C 0.140 H 300.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8A66C2 |
|---|---|
| RGB | rgb(138, 102, 194) |
| HSL | hsl(263, 43%, 58%) |
| HSV | hsv(263, 47%, 76%) |
| CMYK | cmyk(28.9%, 47.4%, 0%, 23.9%) |
| CIE-LAB | lab(50.45, 33.79, -43.09) |
| CIE-LCH | lch(50.45, 54.76, 308.10°) |
| OKLab | oklab(58.67% 0.0704 -0.121) |
| OKLCH | oklch(58.67% 0.14 300.2) |
| XYZ | xyz(24.9680, 18.8009, 53.3420) |
| Luminance | 0.1880 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.34
Deep Lilac
#966EBD
ΔE00 4.19
Amethyst
#9B5FC0
ΔE00 4.38
Mediumpurple
#9370DB
ΔE00 5.11
Purpley
#8756E4
ΔE00 7.05
Light Indigo
#6D5ACF
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A66C2 #9EC266
analogous
#6670C2 #8A66C2 #B866C2
triadic
#8A66C2 #C28A66 #66C28A
tetradic
#8A66C2 #C26670 #9EC266 #66C2B8
square
#8A66C2 #C26670 #9EC266 #66C2B8
split-complementary
#8A66C2 #C2B866 #70C266
monochromatic
#4F317C #6A43A8 #8A66C2 #AB92D3 #CDBEE5
Accessibility & contrast
On white
4.41
#8A66C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#8A66C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A66C2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A66C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A66C2 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#5277C0
Tritanopia (blue-blind)
#7F778B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a66c2; /* rgb */ color: rgb(138, 102, 194); /* oklch */ color: oklch(58.7% 0.140 300.2);
Tailwind
colors: {
custom: {
50: '#ae92d5',
500: '#8a66c2',
950: '#000000',
},
}SCSS
$custom: #8a66c2; $custom-light: #ae92d5; $custom-dark: #000000;
JSON
{
"hex": "#8a66c2",
"rgb": {
"r": 138,
"g": 102,
"b": 194
},
"hsl": {
"h": 263.478,
"s": 42.991,
"l": 58.039
},
"oklch": {
"l": 0.58668,
"c": 0.13998,
"h": 300.2
},
"luminance": 0.18801
}Semantic roles & 50–950 ramp
primary
#8A66C2
secondary
#C6D4B0
accent
#D355A2
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#110D14
muted
#807E83