#A662BB#A662BB
#A662BB is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.6% C 0.148 H 317.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A662BB |
|---|---|
| RGB | rgb(166, 98, 187) |
| HSL | hsl(286, 40%, 56%) |
| HSV | hsv(286, 48%, 73%) |
| CMYK | cmyk(11.2%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(52.32, 42.36, -35.90) |
| CIE-LCH | lch(52.32, 55.53, 319.72°) |
| OKLab | oklab(60.65% 0.1098 -0.0994) |
| OKLCH | oklch(60.65% 0.148 317.8) |
| XYZ | xyz(29.0620, 20.4312, 49.4168) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.18
Soft Purple
#A66FB5
ΔE00 4.26
Deep Lilac
#966EBD
ΔE00 5.03
Mediumorchid
#BA55D3
ΔE00 5.31
Deep Lavender
#8D5EB7
ΔE00 5.67
Dark Lilac
#9C6DA5
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A662BB #77BB62
analogous
#7962BB #A662BB #BB62A3
triadic
#A662BB #BBA662 #62BBA6
tetradic
#A662BB #BB7962 #77BB62 #62A3BB
square
#A662BB #BB7962 #77BB62 #62A3BB
split-complementary
#A662BB #A3BB62 #62BB79
monochromatic
#623171 #87449C #A662BB #BE8DCD #D6B7E0
Accessibility & contrast
On white
4.13
#A662BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#A662BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A662BB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A662BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A662BB | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#A66E86
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a662bb; /* rgb */ color: rgb(166, 98, 187); /* oklch */ color: oklch(60.6% 0.148 317.8);
Tailwind
colors: {
custom: {
50: '#c291d0',
500: '#a662bb',
950: '#000000',
},
}SCSS
$custom: #a662bb; $custom-light: #c291d0; $custom-dark: #000000;
JSON
{
"hex": "#a662bb",
"rgb": {
"r": 166,
"g": 98,
"b": 187
},
"hsl": {
"h": 285.843,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.60645,
"c": 0.1481,
"h": 317.8
},
"luminance": 0.2043
}Semantic roles & 50–950 ramp
primary
#A662BB
secondary
#B3CFAA
accent
#CF5874
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82