#AC47B2#AC47B2
#AC47B2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.185 H 325.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AC47B2 |
|---|---|
| RGB | rgb(172, 71, 178) |
| HSL | hsl(297, 43%, 49%) |
| HSV | hsv(297, 60%, 70%) |
| CMYK | cmyk(3.4%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(47.61, 55.70, -38.02) |
| CIE-LCH | lch(47.61, 67.44, 325.68°) |
| OKLab | oklab(57.2% 0.1526 -0.1052) |
| OKLCH | oklch(57.2% 0.185 325.4) |
| XYZ | xyz(27.3018, 16.4931, 43.8563) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.55
Medium Purple
#9E43A2
ΔE00 3.74
Purpley Pink
#C83CB9
ΔE00 4.97
Purply
#983FB2
ΔE00 5.03
Barney
#AC1DB8
ΔE00 6.14
Pinky Purple
#C94CBE
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC47B2 #4DB247
analogous
#7747B2 #AC47B2 #B24783
triadic
#AC47B2 #B2AC47 #47B2AC
tetradic
#AC47B2 #B27747 #4DB247 #4783B2
square
#AC47B2 #B27747 #4DB247 #4783B2
split-complementary
#AC47B2 #83B247 #47B277
monochromatic
#57245B #823686 #AC47B2 #C170C6 #D49CD7
Accessibility & contrast
On white
4.89
#AC47B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#AC47B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC47B2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC47B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC47B2 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#5B75AF
Tritanopia (blue-blind)
#B05676
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ac47b2; /* rgb */ color: rgb(172, 71, 178); /* oklch */ color: oklch(57.2% 0.185 325.4);
Tailwind
colors: {
custom: {
50: '#c880c9',
500: '#ac47b2',
950: '#000000',
},
}SCSS
$custom: #ac47b2; $custom-light: #c880c9; $custom-dark: #000000;
JSON
{
"hex": "#ac47b2",
"rgb": {
"r": 172,
"g": 71,
"b": 178
},
"hsl": {
"h": 296.636,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.57204,
"c": 0.18533,
"h": 325.4
},
"luminance": 0.16491
}Semantic roles & 50–950 ramp
primary
#AC47B2
secondary
#94C491
accent
#D3555C
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82