#AC4ACC#AC4ACC
#AC4ACC is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.205 H 316.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AC4ACC |
|---|---|
| RGB | rgb(172, 74, 204) |
| HSL | hsl(285, 56%, 55%) |
| HSV | hsv(285, 64%, 80%) |
| CMYK | cmyk(15.7%, 63.7%, 0%, 20%) |
| CIE-LAB | lab(49.53, 59.32, -50.06) |
| CIE-LCH | lch(49.53, 77.63, 319.84°) |
| OKLab | oklab(59.06% 0.1497 -0.1403) |
| OKLCH | oklch(59.06% 0.205 316.8) |
| XYZ | xyz(30.3595, 18.0290, 58.9958) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.20
Lightish Purple
#A552E6
ΔE00 4.83
Amethyst
#9B5FC0
ΔE00 5.32
Purply
#983FB2
ΔE00 6.15
Darkorchid
#9932CC
ΔE00 6.64
Purpley Pink
#C83CB9
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC4ACC #6ACC4A
analogous
#6B4ACC #AC4ACC #CC4AAB
triadic
#AC4ACC #CCAC4A #4ACCAC
tetradic
#AC4ACC #CC6B4A #6ACC4A #4AABCC
square
#AC4ACC #CC6B4A #6ACC4A #4AABCC
split-complementary
#AC4ACC #ABCC4A #4ACC6B
monochromatic
#642279 #8B30A9 #AC4ACC #C27AD9 #D8A9E7
Accessibility & contrast
On white
4.56
#AC4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#AC4ACC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC4ACC
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC4ACC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC4ACC | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B70D0
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#AB6185
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ac4acc; /* rgb */ color: rgb(172, 74, 204); /* oklch */ color: oklch(59.1% 0.205 316.8);
Tailwind
colors: {
custom: {
50: '#c883dc',
500: '#ac4acc',
950: '#000000',
},
}SCSS
$custom: #ac4acc; $custom-light: #c883dc; $custom-dark: #000000;
JSON
{
"hex": "#ac4acc",
"rgb": {
"r": 172,
"g": 74,
"b": 204
},
"hsl": {
"h": 285.231,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.59055,
"c": 0.20513,
"h": 316.8
},
"luminance": 0.18028
}Semantic roles & 50–950 ramp
primary
#AC4ACC
secondary
#ABD49D
accent
#DF486E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83