#A66FEF#A66FEF
#A66FEF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.187 H 301.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A66FEF |
|---|---|
| RGB | rgb(166, 111, 239) |
| HSL | hsl(266, 80%, 69%) |
| HSV | hsv(266, 54%, 94%) |
| CMYK | cmyk(30.5%, 53.6%, 0%, 6.3%) |
| CIE-LAB | lab(57.76, 47.11, -56.74) |
| CIE-LCH | lch(57.76, 73.75, 309.71°) |
| OKLab | oklab(65.56% 0.0971 -0.1602) |
| OKLCH | oklch(65.56% 0.187 301.2) |
| XYZ | xyz(36.9867, 25.7077, 84.6581) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.38
Mediumpurple
#9370DB
ΔE00 4.27
Easter Purple
#C071FE
ΔE00 4.75
Lighter Purple
#A55AF4
ΔE00 4.94
Light Purple
#BF77F6
ΔE00 5.02
Bright Lavender
#C760FF
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66FEF #B8EF6F
analogous
#6F78EF #A66FEF #E66FEF
triadic
#A66FEF #EFA66F #6FEFA6
tetradic
#A66FEF #EF6F78 #B8EF6F #6FEFE6
square
#A66FEF #EF6F78 #B8EF6F #6FEFE6
split-complementary
#A66FEF #EFE66F #78EF6F
monochromatic
#6517CD #8438E9 #A66FEF #C8A6F5 #EADDFB
Accessibility & contrast
On white
3.42
#A66FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#A66FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66FEF
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66FEF | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#9888A5
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a66fef; /* rgb */ color: rgb(166, 111, 239); /* oklch */ color: oklch(65.6% 0.187 301.2);
Tailwind
colors: {
custom: {
50: '#c49af5',
500: '#a66fef',
950: '#000000',
},
}SCSS
$custom: #a66fef; $custom-light: #c49af5; $custom-dark: #000000;
JSON
{
"hex": "#a66fef",
"rgb": {
"r": 166,
"g": 111,
"b": 239
},
"hsl": {
"h": 265.781,
"s": 80,
"l": 68.627
},
"oklch": {
"l": 0.65557,
"c": 0.18732,
"h": 301.2
},
"luminance": 0.25708
}Semantic roles & 50–950 ramp
primary
#A66FEF
secondary
#E0F0CA
accent
#DC0982
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85