#AC5CD9#AC5CD9
#AC5CD9 is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.1% C 0.192 H 311.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AC5CD9 |
|---|---|
| RGB | rgb(172, 92, 217) |
| HSL | hsl(278, 62%, 61%) |
| HSV | hsv(278, 58%, 85%) |
| CMYK | cmyk(20.7%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(53.42, 53.47, -51.27) |
| CIE-LCH | lch(53.42, 74.08, 316.20°) |
| OKLab | oklab(62.12% 0.1278 -0.1439) |
| OKLCH | oklch(62.12% 0.192 311.6) |
| XYZ | xyz(33.3625, 21.4355, 68.0122) |
| Luminance | 0.2144 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.18
Lightish Purple
#A552E6
ΔE00 3.56
Lighter Purple
#A55AF4
ΔE00 4.55
Amethyst
#9B5FC0
ΔE00 4.67
Light Urple
#B36FF6
ΔE00 6.44
Bright Lilac
#C95EFB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC5CD9 #89D95C
analogous
#6D5CD9 #AC5CD9 #D95CC7
triadic
#AC5CD9 #D9AC5C #5CD9AC
tetradic
#AC5CD9 #D96D5C #89D95C #5CC7D9
square
#AC5CD9 #D96D5C #89D95C #5CC7D9
split-complementary
#AC5CD9 #C7D95C #5CD96D
monochromatic
#6E2397 #912FC9 #AC5CD9 #C58EE5 #DFBFF0
Accessibility & contrast
On white
3.97
#AC5CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#AC5CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC5CD9
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC5CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC5CD9 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#337CDD
Deuteranopia (green-blind)
#5381D6
Tritanopia (blue-blind)
#A77292
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #ac5cd9; /* rgb */ color: rgb(172, 92, 217); /* oklch */ color: oklch(62.1% 0.192 311.6);
Tailwind
colors: {
custom: {
50: '#c88ee5',
500: '#ac5cd9',
950: '#000000',
},
}SCSS
$custom: #ac5cd9; $custom-light: #c88ee5; $custom-dark: #000000;
JSON
{
"hex": "#ac5cd9",
"rgb": {
"r": 172,
"g": 92,
"b": 217
},
"hsl": {
"h": 278.4,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.62122,
"c": 0.19249,
"h": 311.6
},
"luminance": 0.21435
}Semantic roles & 50–950 ramp
primary
#AC5CD9
secondary
#C2E0B1
accent
#CA1C5A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84