#8A66BE#8A66BE
#8A66BE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.135 H 301.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A66BE |
|---|---|
| RGB | rgb(138, 102, 190) |
| HSL | hsl(265, 40%, 57%) |
| HSV | hsv(265, 46%, 75%) |
| CMYK | cmyk(27.4%, 46.3%, 0%, 25.5%) |
| CIE-LAB | lab(50.24, 32.78, -41.12) |
| CIE-LCH | lch(50.24, 52.59, 308.57°) |
| OKLab | oklab(58.44% 0.0699 -0.1152) |
| OKLCH | oklch(58.44% 0.135 301.2) |
| XYZ | xyz(24.5248, 18.6237, 51.0079) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.93
Deep Lilac
#966EBD
ΔE00 3.85
Amethyst
#9B5FC0
ΔE00 4.23
Mediumpurple
#9370DB
ΔE00 5.69
Royal Purple
#7851A9
ΔE00 7.65
Purpley
#8756E4
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A66BE #9ABE66
analogous
#666EBE #8A66BE #B666BE
triadic
#8A66BE #BE8A66 #66BE8A
tetradic
#8A66BE #BE666E #9ABE66 #66BEB6
square
#8A66BE #BE666E #9ABE66 #66BEB6
split-complementary
#8A66BE #BEB666 #6EBE66
monochromatic
#4F3377 #6B45A2 #8A66BE #AB91D0 #CCBCE2
Accessibility & contrast
On white
4.44
#8A66BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#8A66BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A66BE
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A66BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A66BE | 1.00 | 4.44 | 4.72 | 4.72 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#807689
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a66be; /* rgb */ color: rgb(138, 102, 190); /* oklch */ color: oklch(58.4% 0.135 301.2);
Tailwind
colors: {
custom: {
50: '#ae92d2',
500: '#8a66be',
950: '#000000',
},
}SCSS
$custom: #8a66be; $custom-light: #ae92d2; $custom-dark: #000000;
JSON
{
"hex": "#8a66be",
"rgb": {
"r": 138,
"g": 102,
"b": 190
},
"hsl": {
"h": 264.545,
"s": 40.367,
"l": 57.255
},
"oklch": {
"l": 0.58443,
"c": 0.13476,
"h": 301.2
},
"luminance": 0.18624
}Semantic roles & 50–950 ramp
primary
#8A66BE
secondary
#C3D2AE
accent
#D0589F
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82