#AC3FAF#AC3FAF
#AC3FAF is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.194 H 326.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AC3FAF |
|---|---|
| RGB | rgb(172, 63, 175) |
| HSL | hsl(298, 47%, 47%) |
| HSV | hsv(298, 64%, 69%) |
| CMYK | cmyk(1.7%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(46.21, 58.62, -38.48) |
| CIE-LCH | lch(46.21, 70.12, 326.72°) |
| OKLab | oklab(56.13% 0.162 -0.1065) |
| OKLCH | oklch(56.13% 0.194 326.7) |
| XYZ | xyz(26.5282, 15.4225, 42.1287) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.78
Medium Purple
#9E43A2
ΔE00 3.01
Purply
#983FB2
ΔE00 4.41
Barney
#AC1DB8
ΔE00 4.79
Purpley Pink
#C83CB9
ΔE00 5.42
Pinky Purple
#C94CBE
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC3FAF #42AF3F
analogous
#743FAF #AC3FAF #AF3F7A
triadic
#AC3FAF #AFAC3F #3FAFAC
tetradic
#AC3FAF #AF743F #42AF3F #3F7AAF
square
#AC3FAF #AF743F #42AF3F #3F7AAF
split-complementary
#AC3FAF #7AAF3F #3FAF74
monochromatic
#541F55 #802F82 #AC3FAF #C564C7 #D691D7
Accessibility & contrast
On white
5.14
#AC3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#AC3FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC3FAF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC3FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC3FAF | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#5872AC
Tritanopia (blue-blind)
#B14F71
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ac3faf; /* rgb */ color: rgb(172, 63, 175); /* oklch */ color: oklch(56.1% 0.194 326.7);
Tailwind
colors: {
custom: {
50: '#c87cc7',
500: '#ac3faf',
950: '#000000',
},
}SCSS
$custom: #ac3faf; $custom-light: #c87cc7; $custom-dark: #000000;
JSON
{
"hex": "#ac3faf",
"rgb": {
"r": 172,
"g": 63,
"b": 175
},
"hsl": {
"h": 298.393,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.56132,
"c": 0.19389,
"h": 326.7
},
"luminance": 0.15421
}Semantic roles & 50–950 ramp
primary
#AC3FAF
secondary
#89C387
accent
#D75155
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82