#8A66C7#8A66C7
#8A66C7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.0% C 0.146 H 299.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A66C7 |
|---|---|
| RGB | rgb(138, 102, 199) |
| HSL | hsl(262, 46%, 59%) |
| HSV | hsv(262, 49%, 78%) |
| CMYK | cmyk(30.7%, 48.7%, 0%, 22%) |
| CIE-LAB | lab(50.72, 35.05, -45.54) |
| CIE-LCH | lch(50.72, 57.47, 307.59°) |
| OKLab | oklab(58.96% 0.071 -0.1281) |
| OKLCH | oklch(58.96% 0.146 299) |
| XYZ | xyz(25.5390, 19.0293, 56.3493) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.99
Mediumpurple
#9370DB
ΔE00 4.48
Deep Lilac
#966EBD
ΔE00 4.72
Amethyst
#9B5FC0
ΔE00 4.72
Purpley
#8756E4
ΔE00 6.33
Light Indigo
#6D5ACF
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A66C7 #A3C766
analogous
#6673C7 #8A66C7 #BB66C7
triadic
#8A66C7 #C78A66 #66C78A
tetradic
#8A66C7 #C76673 #A3C766 #66C7BB
square
#8A66C7 #C76673 #A3C766 #66C7BB
split-complementary
#8A66C7 #C7BB66 #73C766
monochromatic
#4F3083 #6A40B0 #8A66C7 #AC93D7 #CFC0E8
Accessibility & contrast
On white
4.37
#8A66C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#8A66C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A66C7
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A66C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A66C7 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4679CA
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#7D788D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a66c7; /* rgb */ color: rgb(138, 102, 199); /* oklch */ color: oklch(59.0% 0.146 299.0);
Tailwind
colors: {
custom: {
50: '#af92d8',
500: '#8a66c7',
950: '#000000',
},
}SCSS
$custom: #8a66c7; $custom-light: #af92d8; $custom-dark: #000000;
JSON
{
"hex": "#8a66c7",
"rgb": {
"r": 138,
"g": 102,
"b": 199
},
"hsl": {
"h": 262.268,
"s": 46.411,
"l": 59.02
},
"oklch": {
"l": 0.58956,
"c": 0.14648,
"h": 299
},
"luminance": 0.1903
}Semantic roles & 50–950 ramp
primary
#8A66C7
secondary
#C9D7B1
accent
#D652A5
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83