#AC1F9F#AC1F9F
#AC1F9F is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.216 H 332.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AC1F9F |
|---|---|
| RGB | rgb(172, 31, 159) |
| HSL | hsl(306, 69%, 40%) |
| HSV | hsv(306, 82%, 67%) |
| CMYK | cmyk(0%, 82%, 7.6%, 32.5%) |
| CIE-LAB | lab(41.62, 66.62, -36.22) |
| CIE-LCH | lch(41.62, 75.83, 331.47°) |
| OKLab | oklab(52.56% 0.1919 -0.0997) |
| OKLCH | oklch(52.56% 0.216 332.5) |
| XYZ | xyz(23.7614, 12.2559, 33.9084) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.66
Barney
#AC1DB8
ΔE00 4.29
Warm Purple
#952E8F
ΔE00 4.31
Ugly Purple
#A442A0
ΔE00 4.70
Medium Purple
#9E43A2
ΔE00 5.04
Purply
#983FB2
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC1F9F #1FAC2C
analogous
#731FAC #AC1F9F #AC1F58
triadic
#AC1F9F #9FAC1F #1F9FAC
tetradic
#AC1F9F #AC731F #1FAC2C #1F58AC
square
#AC1F9F #AC731F #1FAC2C #1F58AC
split-complementary
#AC1F9F #58AC1F #1FAC73
monochromatic
#440C3F #78166F #AC1F9F #D92FCA #E363D7
Accessibility & contrast
On white
6.09
#AC1F9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#AC1F9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC1F9F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC1F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC1F9F | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#52699C
Tritanopia (blue-blind)
#B43260
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ac1f9f; /* rgb */ color: rgb(172, 31, 159); /* oklch */ color: oklch(52.6% 0.216 332.5);
Tailwind
colors: {
custom: {
50: '#c96ebc',
500: '#ac1f9f',
950: '#000000',
},
}SCSS
$custom: #ac1f9f; $custom-light: #c96ebc; $custom-dark: #000000;
JSON
{
"hex": "#ac1f9f",
"rgb": {
"r": 172,
"g": 31,
"b": 159
},
"hsl": {
"h": 305.532,
"s": 69.458,
"l": 39.804
},
"oklch": {
"l": 0.52559,
"c": 0.21626,
"h": 332.5
},
"luminance": 0.12254
}Semantic roles & 50–950 ramp
primary
#AC1F9F
secondary
#5FC869
accent
#EC4C3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81