#AC45B9#AC45B9
#AC45B9 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.194 H 323.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AC45B9 |
|---|---|
| RGB | rgb(172, 69, 185) |
| HSL | hsl(293, 46%, 50%) |
| HSV | hsv(293, 63%, 73%) |
| CMYK | cmyk(7%, 62.7%, 0%, 27.5%) |
| CIE-LAB | lab(47.66, 57.87, -42.04) |
| CIE-LCH | lch(47.66, 71.53, 324.01°) |
| OKLab | oklab(57.36% 0.1554 -0.1168) |
| OKLCH | oklch(57.36% 0.194 323.1) |
| XYZ | xyz(27.8975, 16.5312, 47.6109) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.43
Purply
#983FB2
ΔE00 4.54
Ugly Purple
#A442A0
ΔE00 4.54
Purpley Pink
#C83CB9
ΔE00 5.29
Barney
#AC1DB8
ΔE00 5.59
Mediumorchid
#BA55D3
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC45B9 #52B945
analogous
#7245B9 #AC45B9 #B9458C
triadic
#AC45B9 #B9AC45 #45B9AC
tetradic
#AC45B9 #B97245 #52B945 #458CB9
square
#AC45B9 #B97245 #52B945 #458CB9
split-complementary
#AC45B9 #8CB945 #45B972
monochromatic
#592460 #83348C #AC45B9 #C071CA #D49EDB
Accessibility & contrast
On white
4.88
#AC45B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#AC45B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC45B9
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC45B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC45B9 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D69BD
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#AF5779
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ac45b9; /* rgb */ color: rgb(172, 69, 185); /* oklch */ color: oklch(57.4% 0.194 323.1);
Tailwind
colors: {
custom: {
50: '#c880ce',
500: '#ac45b9',
950: '#000000',
},
}SCSS
$custom: #ac45b9; $custom-light: #c880ce; $custom-dark: #000000;
JSON
{
"hex": "#ac45b9",
"rgb": {
"r": 172,
"g": 69,
"b": 185
},
"hsl": {
"h": 293.276,
"s": 45.669,
"l": 49.804
},
"oklch": {
"l": 0.5736,
"c": 0.19441,
"h": 323.1
},
"luminance": 0.1653
}Semantic roles & 50–950 ramp
primary
#AC45B9
secondary
#99C793
accent
#D55261
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82