#A66CD7#A66CD7
#A66CD7 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.163 H 307.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A66CD7 |
|---|---|
| RGB | rgb(166, 108, 215) |
| HSL | hsl(273, 57%, 63%) |
| HSV | hsv(273, 50%, 84%) |
| CMYK | cmyk(22.8%, 49.8%, 0%, 15.7%) |
| CIE-LAB | lab(55.83, 43.07, -46.36) |
| CIE-LCH | lch(55.83, 63.28, 312.89°) |
| OKLab | oklab(63.7% 0.0993 -0.1298) |
| OKLCH | oklch(63.7% 0.163 307.4) |
| XYZ | xyz(33.3517, 23.7388, 67.1019) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.43
Light Urple
#B36FF6
ΔE00 4.90
Deep Lilac
#966EBD
ΔE00 5.11
Amethyst
#9B5FC0
ΔE00 5.40
Lighter Purple
#A55AF4
ΔE00 6.10
Mediumorchid
#BA55D3
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66CD7 #9DD76C
analogous
#706CD7 #A66CD7 #D76CD3
triadic
#A66CD7 #D7A66C #6CD7A6
tetradic
#A66CD7 #D7706C #9DD76C #6CD3D7
square
#A66CD7 #D7706C #9DD76C #6CD3D7
split-complementary
#A66CD7 #D3D76C #6CD770
monochromatic
#692B9E #893CCA #A66CD7 #C39CE4 #E0CCF1
Accessibility & contrast
On white
3.65
#A66CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#A66CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66CD7
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66CD7 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E84DB
Deuteranopia (green-blind)
#5F86D4
Tritanopia (blue-blind)
#9F7E98
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a66cd7; /* rgb */ color: rgb(166, 108, 215); /* oklch */ color: oklch(63.7% 0.163 307.4);
Tailwind
colors: {
custom: {
50: '#c398e4',
500: '#a66cd7',
950: '#000000',
},
}SCSS
$custom: #a66cd7; $custom-light: #c398e4; $custom-dark: #000000;
JSON
{
"hex": "#a66cd7",
"rgb": {
"r": 166,
"g": 108,
"b": 215
},
"hsl": {
"h": 272.523,
"s": 57.219,
"l": 63.333
},
"oklch": {
"l": 0.63704,
"c": 0.16345,
"h": 307.4
},
"luminance": 0.23738
}Semantic roles & 50–950 ramp
primary
#A66CD7
secondary
#CEE2BC
accent
#C5216C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E15
muted
#827E84