#A66FD5#A66FD5
#A66FD5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.1% C 0.156 H 307.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A66FD5 |
|---|---|
| RGB | rgb(166, 111, 213) |
| HSL | hsl(272, 55%, 64%) |
| HSV | hsv(272, 48%, 84%) |
| CMYK | cmyk(22.1%, 47.9%, 0%, 16.5%) |
| CIE-LAB | lab(56.37, 40.97, -44.37) |
| CIE-LCH | lch(56.37, 60.40, 312.72°) |
| OKLab | oklab(64.07% 0.095 -0.124) |
| OKLCH | oklch(64.07% 0.156 307.4) |
| XYZ | xyz(33.4182, 24.2803, 65.8640) |
| Luminance | 0.2428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.51
Deep Lilac
#966EBD
ΔE00 4.76
Light Urple
#B36FF6
ΔE00 5.15
Amethyst
#9B5FC0
ΔE00 5.78
Wisteria
#A87DC2
ΔE00 6.27
Light Purple
#BF77F6
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66FD5 #9ED56F
analogous
#736FD5 #A66FD5 #D56FD1
triadic
#A66FD5 #D5A66F #6FD5A6
tetradic
#A66FD5 #D5736F #9ED56F #6FD1D5
square
#A66FD5 #D5736F #9ED56F #6FD1D5
split-complementary
#A66FD5 #D1D56F #6FD573
monochromatic
#692E9C #8940C7 #A66FD5 #C39EE3 #E1CEF1
Accessibility & contrast
On white
3.59
#A66FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#A66FD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66FD5
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66FD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66FD5 | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5485D9
Deuteranopia (green-blind)
#6388D2
Tritanopia (blue-blind)
#9F8098
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a66fd5; /* rgb */ color: rgb(166, 111, 213); /* oklch */ color: oklch(64.1% 0.156 307.4);
Tailwind
colors: {
custom: {
50: '#c29ae2',
500: '#a66fd5',
950: '#000000',
},
}SCSS
$custom: #a66fd5; $custom-light: #c29ae2; $custom-dark: #000000;
JSON
{
"hex": "#a66fd5",
"rgb": {
"r": 166,
"g": 111,
"b": 213
},
"hsl": {
"h": 272.353,
"s": 54.839,
"l": 63.529
},
"oklch": {
"l": 0.64074,
"c": 0.15624,
"h": 307.4
},
"luminance": 0.2428
}Semantic roles & 50–950 ramp
primary
#A66FD5
secondary
#CEE2BE
accent
#C2236D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83