#AC45B2#AC45B2
#AC45B2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.188 H 325.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AC45B2 |
|---|---|
| RGB | rgb(172, 69, 178) |
| HSL | hsl(297, 44%, 48%) |
| HSV | hsv(297, 61%, 70%) |
| CMYK | cmyk(3.4%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(47.29, 56.59, -38.53) |
| CIE-LCH | lch(47.29, 68.46, 325.75°) |
| OKLab | oklab(56.97% 0.155 -0.1067) |
| OKLCH | oklch(56.97% 0.188 325.5) |
| XYZ | xyz(27.1767, 16.2429, 43.8146) |
| Luminance | 0.1624 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.41
Medium Purple
#9E43A2
ΔE00 3.57
Purply
#983FB2
ΔE00 4.78
Purpley Pink
#C83CB9
ΔE00 5.05
Barney
#AC1DB8
ΔE00 5.74
Pinky Purple
#C94CBE
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC45B2 #4BB245
analogous
#7545B2 #AC45B2 #B24581
triadic
#AC45B2 #B2AC45 #45B2AC
tetradic
#AC45B2 #B27545 #4BB245 #4581B2
square
#AC45B2 #B27545 #4BB245 #4581B2
split-complementary
#AC45B2 #81B245 #45B275
monochromatic
#57235A #813486 #AC45B2 #C26EC7 #D49AD8
Accessibility & contrast
On white
4.94
#AC45B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#AC45B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC45B2
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC45B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC45B2 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#B05475
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ac45b2; /* rgb */ color: rgb(172, 69, 178); /* oklch */ color: oklch(57.0% 0.188 325.5);
Tailwind
colors: {
custom: {
50: '#c87fc9',
500: '#ac45b2',
950: '#000000',
},
}SCSS
$custom: #ac45b2; $custom-light: #c87fc9; $custom-dark: #000000;
JSON
{
"hex": "#ac45b2",
"rgb": {
"r": 172,
"g": 69,
"b": 178
},
"hsl": {
"h": 296.697,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.56969,
"c": 0.1882,
"h": 325.5
},
"luminance": 0.16241
}Semantic roles & 50–950 ramp
primary
#AC45B2
secondary
#92C48F
accent
#D4545B
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82