#A66FF2#A66FF2
#A66FF2 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.191 H 300.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A66FF2 |
|---|---|
| RGB | rgb(166, 111, 242) |
| HSL | hsl(265, 83%, 69%) |
| HSV | hsv(265, 54%, 95%) |
| CMYK | cmyk(31.4%, 54.1%, 0%, 5.1%) |
| CIE-LAB | lab(57.93, 47.84, -58.13) |
| CIE-LCH | lch(57.93, 75.29, 309.45°) |
| OKLab | oklab(65.74% 0.0973 -0.1642) |
| OKLCH | oklch(65.74% 0.191 300.6) |
| XYZ | xyz(37.4336, 25.8865, 87.0116) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.35
Mediumpurple
#9370DB
ΔE00 4.50
Easter Purple
#C071FE
ΔE00 4.68
Lighter Purple
#A55AF4
ΔE00 4.92
Light Purple
#BF77F6
ΔE00 5.06
Bright Lavender
#C760FF
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66FF2 #BBF26F
analogous
#6F7AF2 #A66FF2 #E86FF2
triadic
#A66FF2 #F2A66F #6FF2A6
tetradic
#A66FF2 #F26F7A #BBF26F #6FF2E8
square
#A66FF2 #F26F7A #BBF26F #6FF2E8
split-complementary
#A66FF2 #F2E86F #7AF26F
monochromatic
#6413D4 #8337ED #A66FF2 #C9A7F7 #EBDFFC
Accessibility & contrast
On white
3.40
#A66FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#A66FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66FF2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66FF2 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#9789A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a66ff2; /* rgb */ color: rgb(166, 111, 242); /* oklch */ color: oklch(65.7% 0.191 300.6);
Tailwind
colors: {
custom: {
50: '#c49af7',
500: '#a66ff2',
950: '#000000',
},
}SCSS
$custom: #a66ff2; $custom-light: #c49af7; $custom-dark: #000000;
JSON
{
"hex": "#a66ff2",
"rgb": {
"r": 166,
"g": 111,
"b": 242
},
"hsl": {
"h": 265.191,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.65738,
"c": 0.19089,
"h": 300.6
},
"luminance": 0.25887
}Semantic roles & 50–950 ramp
primary
#A66FF2
secondary
#E1F1CB
accent
#E00684
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85