#AC5FA2#AC5FA2
#AC5FA2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.7% C 0.132 H 332.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AC5FA2 |
|---|---|
| RGB | rgb(172, 95, 162) |
| HSL | hsl(308, 32%, 52%) |
| HSV | hsv(308, 45%, 67%) |
| CMYK | cmyk(0%, 44.8%, 5.8%, 32.5%) |
| CIE-LAB | lab(51.34, 40.94, -22.82) |
| CIE-LCH | lch(51.34, 46.87, 330.86°) |
| OKLab | oklab(59.71% 0.1166 -0.0619) |
| OKLCH | oklch(59.71% 0.132 332) |
| XYZ | xyz(27.6268, 19.5653, 36.4967) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 5.43
Purpleish
#98568D
ΔE00 5.81
Soft Purple
#A66FB5
ΔE00 5.95
Purplish
#94568C
ΔE00 6.46
Purplish Pink
#CE5DAE
ΔE00 6.54
Light Plum
#9D5783
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC5FA2 #5FAC69
analogous
#8F5FAC #AC5FA2 #AC5F7C
triadic
#AC5FA2 #A2AC5F #5FA2AC
tetradic
#AC5FA2 #AC8F5F #5FAC69 #5F7CAC
square
#AC5FA2 #AC8F5F #5FAC69 #5F7CAC
split-complementary
#AC5FA2 #7CAC5F #5FAC8F
monochromatic
#5F3159 #88467F #AC5FA2 #C187B9 #D6B0D1
Accessibility & contrast
On white
4.27
#AC5FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#AC5FA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC5FA2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC5FA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC5FA2 | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#727EA0
Tritanopia (blue-blind)
#B26479
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ac5fa2; /* rgb */ color: rgb(172, 95, 162); /* oklch */ color: oklch(59.7% 0.132 332.0);
Tailwind
colors: {
custom: {
50: '#c68fbd',
500: '#ac5fa2',
950: '#000000',
},
}SCSS
$custom: #ac5fa2; $custom-light: #c68fbd; $custom-dark: #000000;
JSON
{
"hex": "#ac5fa2",
"rgb": {
"r": 172,
"g": 95,
"b": 162
},
"hsl": {
"h": 307.792,
"s": 31.687,
"l": 52.353
},
"oklch": {
"l": 0.59714,
"c": 0.13198,
"h": 332
},
"luminance": 0.19564
}Semantic roles & 50–950 ramp
primary
#AC5FA2
secondary
#A3C4A7
accent
#C86D60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81