#AC66EC#AC66EC
#AC66EC is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.7% C 0.198 H 305.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AC66EC |
|---|---|
| RGB | rgb(172, 102, 236) |
| HSL | hsl(271, 78%, 66%) |
| HSV | hsv(271, 57%, 93%) |
| CMYK | cmyk(27.1%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(56.42, 52.62, -57.17) |
| CIE-LCH | lch(56.42, 77.70, 312.62°) |
| OKLab | oklab(64.66% 0.1157 -0.1612) |
| OKLCH | oklch(64.66% 0.198 305.7) |
| XYZ | xyz(36.9017, 24.3298, 82.0927) |
| Luminance | 0.2433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.86
Lighter Purple
#A55AF4
ΔE00 3.39
Bright Lavender
#C760FF
ΔE00 4.75
Easter Purple
#C071FE
ΔE00 4.90
Bright Lilac
#C95EFB
ΔE00 4.95
Lightish Purple
#A552E6
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC66EC #A6EC66
analogous
#6966EC #AC66EC #EC66E9
triadic
#AC66EC #ECAC66 #66ECAC
tetradic
#AC66EC #EC6966 #A6EC66 #66E9EC
square
#AC66EC #EC6966 #A6EC66 #66E9EC
split-complementary
#AC66EC #E9EC66 #66EC69
monochromatic
#7018C0 #8E30E5 #AC66EC #CA9CF3 #E7D3FA
Accessibility & contrast
On white
3.58
#AC66EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#AC66EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC66EC
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC66EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC66EC | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#A1809F
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ac66ec; /* rgb */ color: rgb(172, 102, 236); /* oklch */ color: oklch(64.7% 0.198 305.7);
Tailwind
colors: {
custom: {
50: '#c894f3',
500: '#ac66ec',
950: '#000000',
},
}SCSS
$custom: #ac66ec; $custom-light: #c894f3; $custom-dark: #000000;
JSON
{
"hex": "#ac66ec",
"rgb": {
"r": 172,
"g": 102,
"b": 236
},
"hsl": {
"h": 271.343,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.64661,
"c": 0.19848,
"h": 305.7
},
"luminance": 0.2433
}Semantic roles & 50–950 ramp
primary
#AC66EC
secondary
#D6EDC1
accent
#DA0B6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85