#A866BE#A866BE
#A866BE is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.7% C 0.146 H 317.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A866BE |
|---|---|
| RGB | rgb(168, 102, 190) |
| HSL | hsl(285, 40%, 57%) |
| HSV | hsv(285, 46%, 75%) |
| CMYK | cmyk(11.6%, 46.3%, 0%, 25.5%) |
| CIE-LAB | lab(53.54, 41.41, -35.70) |
| CIE-LCH | lch(53.54, 54.67, 319.24°) |
| OKLab | oklab(61.65% 0.1069 -0.0988) |
| OKLCH | oklch(61.65% 0.146 317.2) |
| XYZ | xyz(30.1928, 21.5462, 51.2736) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.50
Amethyst
#9B5FC0
ΔE00 3.85
Deep Lilac
#966EBD
ΔE00 4.61
Mediumorchid
#BA55D3
ΔE00 5.43
Dark Lilac
#9C6DA5
ΔE00 6.15
Deep Lavender
#8D5EB7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A866BE #7CBE66
analogous
#7C66BE #A866BE #BE66A8
triadic
#A866BE #BEA866 #66BEA8
tetradic
#A866BE #BE7C66 #7CBE66 #66A8BE
square
#A866BE #BE7C66 #7CBE66 #66A8BE
split-complementary
#A866BE #A8BE66 #66BE7C
monochromatic
#663377 #8B45A2 #A866BE #C091D0 #D9BCE2
Accessibility & contrast
On white
3.96
#A866BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#A866BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A866BE
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A866BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A866BE | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 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)
#567CC1
Deuteranopia (green-blind)
#6982BC
Tritanopia (blue-blind)
#A87289
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a866be; /* rgb */ color: rgb(168, 102, 190); /* oklch */ color: oklch(61.7% 0.146 317.2);
Tailwind
colors: {
custom: {
50: '#c393d2',
500: '#a866be',
950: '#000000',
},
}SCSS
$custom: #a866be; $custom-light: #c393d2; $custom-dark: #000000;
JSON
{
"hex": "#a866be",
"rgb": {
"r": 168,
"g": 102,
"b": 190
},
"hsl": {
"h": 285,
"s": 40.367,
"l": 57.255
},
"oklch": {
"l": 0.61653,
"c": 0.14557,
"h": 317.2
},
"luminance": 0.21545
}Semantic roles & 50–950 ramp
primary
#A866BE
secondary
#B7D2AE
accent
#D05876
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82