#8A66BF#8A66BF
#8A66BF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.5% C 0.136 H 301.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A66BF |
|---|---|
| RGB | rgb(138, 102, 191) |
| HSL | hsl(264, 41%, 57%) |
| HSV | hsv(264, 47%, 75%) |
| CMYK | cmyk(27.7%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(50.30, 33.03, -41.61) |
| CIE-LCH | lch(50.30, 53.13, 308.44°) |
| OKLab | oklab(58.5% 0.07 -0.1167) |
| OKLCH | oklch(58.5% 0.136 301) |
| XYZ | xyz(24.6344, 18.6675, 51.5855) |
| Luminance | 0.1867 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.02
Deep Lilac
#966EBD
ΔE00 3.92
Amethyst
#9B5FC0
ΔE00 4.25
Mediumpurple
#9370DB
ΔE00 5.54
Purpley
#8756E4
ΔE00 7.51
Royal Purple
#7851A9
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A66BF #9BBF66
analogous
#666EBF #8A66BF #B766BF
triadic
#8A66BF #BF8A66 #66BF8A
tetradic
#8A66BF #BF666E #9BBF66 #66BFB7
square
#8A66BF #BF666E #9BBF66 #66BFB7
split-complementary
#8A66BF #BFB766 #6EBF66
monochromatic
#4F3278 #6B44A3 #8A66BF #AB91D1 #CCBCE3
Accessibility & contrast
On white
4.44
#8A66BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#8A66BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A66BF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A66BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A66BF | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#5477BD
Tritanopia (blue-blind)
#807689
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a66bf; /* rgb */ color: rgb(138, 102, 191); /* oklch */ color: oklch(58.5% 0.136 301.0);
Tailwind
colors: {
custom: {
50: '#ae92d3',
500: '#8a66bf',
950: '#000000',
},
}SCSS
$custom: #8a66bf; $custom-light: #ae92d3; $custom-dark: #000000;
JSON
{
"hex": "#8a66bf",
"rgb": {
"r": 138,
"g": 102,
"b": 191
},
"hsl": {
"h": 264.27,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.58499,
"c": 0.13607,
"h": 301
},
"luminance": 0.18668
}Semantic roles & 50–950 ramp
primary
#8A66BF
secondary
#C4D2AE
accent
#D157A0
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#100D14
muted
#7F7E83