#AC45BC#AC45BC
#AC45BC is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.197 H 322.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AC45BC |
|---|---|
| RGB | rgb(172, 69, 188) |
| HSL | hsl(292, 47%, 50%) |
| HSV | hsv(292, 63%, 74%) |
| CMYK | cmyk(8.5%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(47.83, 58.43, -43.53) |
| CIE-LCH | lch(47.83, 72.86, 323.32°) |
| OKLab | oklab(57.53% 0.1555 -0.1212) |
| OKLCH | oklch(57.53% 0.197 322.1) |
| XYZ | xyz(28.2175, 16.6592, 49.2964) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.56
Medium Purple
#9E43A2
ΔE00 4.85
Ugly Purple
#A442A0
ΔE00 5.04
Purpley Pink
#C83CB9
ΔE00 5.47
Barney
#AC1DB8
ΔE00 5.63
Mediumorchid
#BA55D3
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC45BC #55BC45
analogous
#7045BC #AC45BC #BC4590
triadic
#AC45BC #BCAC45 #45BCAC
tetradic
#AC45BC #BC7045 #55BC45 #4590BC
square
#AC45BC #BC7045 #55BC45 #4590BC
split-complementary
#AC45BC #90BC45 #45BC70
monochromatic
#5A2463 #843490 #AC45BC #C072CC #D49FDC
Accessibility & contrast
On white
4.85
#AC45BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#AC45BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC45BC
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC45BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC45BC | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#AE587A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ac45bc; /* rgb */ color: rgb(172, 69, 188); /* oklch */ color: oklch(57.5% 0.197 322.1);
Tailwind
colors: {
custom: {
50: '#c880d1',
500: '#ac45bc',
950: '#000000',
},
}SCSS
$custom: #ac45bc; $custom-light: #c880d1; $custom-dark: #000000;
JSON
{
"hex": "#ac45bc",
"rgb": {
"r": 172,
"g": 69,
"b": 188
},
"hsl": {
"h": 291.933,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.57531,
"c": 0.19711,
"h": 322.1
},
"luminance": 0.16658
}Semantic roles & 50–950 ramp
primary
#AC45BC
secondary
#9BC994
accent
#D75163
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82