#AA3FAF#AA3FAF
#AA3FAF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.193 H 325.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AA3FAF |
|---|---|
| RGB | rgb(170, 63, 175) |
| HSL | hsl(297, 47%, 47%) |
| HSV | hsv(297, 64%, 69%) |
| CMYK | cmyk(2.9%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(45.90, 58.13, -38.98) |
| CIE-LCH | lch(45.90, 69.99, 326.15°) |
| OKLab | oklab(55.85% 0.1598 -0.108) |
| OKLCH | oklch(55.85% 0.193 325.9) |
| XYZ | xyz(26.0924, 15.1978, 42.1083) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.75
Medium Purple
#9E43A2
ΔE00 2.78
Purply
#983FB2
ΔE00 3.99
Barney
#AC1DB8
ΔE00 4.58
Purpley Pink
#C83CB9
ΔE00 5.83
Warm Purple
#952E8F
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA3FAF #44AF3F
analogous
#723FAF #AA3FAF #AF3F7C
triadic
#AA3FAF #AFAA3F #3FAFAA
tetradic
#AA3FAF #AF723F #44AF3F #3F7CAF
square
#AA3FAF #AF723F #44AF3F #3F7CAF
split-complementary
#AA3FAF #7CAF3F #3FAF72
monochromatic
#531F55 #7E2F82 #AA3FAF #C364C7 #D491D7
Accessibility & contrast
On white
5.20
#AA3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#AA3FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA3FAF
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA3FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA3FAF | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#AE4F71
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #aa3faf; /* rgb */ color: rgb(170, 63, 175); /* oklch */ color: oklch(55.9% 0.193 325.9);
Tailwind
colors: {
custom: {
50: '#c67cc7',
500: '#aa3faf',
950: '#000000',
},
}SCSS
$custom: #aa3faf; $custom-light: #c67cc7; $custom-dark: #000000;
JSON
{
"hex": "#aa3faf",
"rgb": {
"r": 170,
"g": 63,
"b": 175
},
"hsl": {
"h": 297.321,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.55851,
"c": 0.19284,
"h": 325.9
},
"luminance": 0.15196
}Semantic roles & 50–950 ramp
primary
#AA3FAF
secondary
#8AC387
accent
#D75157
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82