#AC5CD7#AC5CD7
#AC5CD7 is a light, vivid violet. Relative luminance 0.213; OKLCH L 62.0% C 0.190 H 312.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AC5CD7 |
|---|---|
| RGB | rgb(172, 92, 215) |
| HSL | hsl(279, 61%, 60%) |
| HSV | hsv(279, 57%, 84%) |
| CMYK | cmyk(20%, 57.2%, 0%, 15.7%) |
| CIE-LAB | lab(53.31, 53.04, -50.31) |
| CIE-LCH | lch(53.31, 73.11, 316.51°) |
| OKLab | oklab(62% 0.1278 -0.1411) |
| OKLCH | oklch(62% 0.19 312.2) |
| XYZ | xyz(33.1040, 21.3320, 66.6504) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.01
Lightish Purple
#A552E6
ΔE00 3.78
Amethyst
#9B5FC0
ΔE00 4.44
Lighter Purple
#A55AF4
ΔE00 4.87
Light Urple
#B36FF6
ΔE00 6.66
Bright Lilac
#C95EFB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC5CD7 #87D75C
analogous
#6E5CD7 #AC5CD7 #D75CC5
triadic
#AC5CD7 #D7AC5C #5CD7AC
tetradic
#AC5CD7 #D76E5C #87D75C #5CC5D7
square
#AC5CD7 #D76E5C #87D75C #5CC5D7
split-complementary
#AC5CD7 #C5D75C #5CD76E
monochromatic
#6D2494 #9130C5 #AC5CD7 #C58DE3 #DEBEEF
Accessibility & contrast
On white
3.99
#AC5CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#AC5CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC5CD7
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC5CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC5CD7 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#367BDB
Deuteranopia (green-blind)
#5481D4
Tritanopia (blue-blind)
#A77291
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #ac5cd7; /* rgb */ color: rgb(172, 92, 215); /* oklch */ color: oklch(62.0% 0.190 312.2);
Tailwind
colors: {
custom: {
50: '#c88ee4',
500: '#ac5cd7',
950: '#000000',
},
}SCSS
$custom: #ac5cd7; $custom-light: #c88ee4; $custom-dark: #000000;
JSON
{
"hex": "#ac5cd7",
"rgb": {
"r": 172,
"g": 92,
"b": 215
},
"hsl": {
"h": 279.024,
"s": 60.591,
"l": 60.196
},
"oklch": {
"l": 0.62004,
"c": 0.19038,
"h": 312.2
},
"luminance": 0.21331
}Semantic roles & 50–950 ramp
primary
#AC5CD7
secondary
#C0DFB0
accent
#C81D59
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C15
muted
#827D84