#AC45CA#AC45CA
#AC45CA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.210 H 317.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AC45CA |
|---|---|
| RGB | rgb(172, 69, 202) |
| HSL | hsl(286, 56%, 53%) |
| HSV | hsv(286, 66%, 79%) |
| CMYK | cmyk(14.9%, 65.8%, 0%, 20.8%) |
| CIE-LAB | lab(48.63, 61.11, -50.36) |
| CIE-LCH | lch(48.63, 79.19, 320.51°) |
| OKLab | oklab(58.37% 0.1554 -0.1411) |
| OKLCH | oklch(58.37% 0.21 317.8) |
| XYZ | xyz(29.8005, 17.2924, 57.6337) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 5.08
Purply
#983FB2
ΔE00 5.39
Lightish Purple
#A552E6
ΔE00 5.51
Darkorchid
#9932CC
ΔE00 5.85
Amethyst
#9B5FC0
ΔE00 6.04
Barney
#AC1DB8
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC45CA #63CA45
analogous
#6945CA #AC45CA #CA45A6
triadic
#AC45CA #CAAC45 #45CAAC
tetradic
#AC45CA #CA6945 #63CA45 #45A6CA
square
#AC45CA #CA6945 #63CA45 #45A6CA
split-complementary
#AC45CA #A6CA45 #45CA69
monochromatic
#612174 #892FA3 #AC45CA #C175D8 #D7A4E5
Accessibility & contrast
On white
4.71
#AC45CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#AC45CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC45CA
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC45CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC45CA | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E6DCE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#AB5D82
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ac45ca; /* rgb */ color: rgb(172, 69, 202); /* oklch */ color: oklch(58.4% 0.210 317.8);
Tailwind
colors: {
custom: {
50: '#c880db',
500: '#ac45ca',
950: '#000000',
},
}SCSS
$custom: #ac45ca; $custom-light: #c880db; $custom-dark: #000000;
JSON
{
"hex": "#ac45ca",
"rgb": {
"r": 172,
"g": 69,
"b": 202
},
"hsl": {
"h": 286.466,
"s": 55.649,
"l": 53.137
},
"oklch": {
"l": 0.58365,
"c": 0.20991,
"h": 317.8
},
"luminance": 0.17291
}Semantic roles & 50–950 ramp
primary
#AC45CA
secondary
#A6D299
accent
#DF496B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83