#AA399E#AA399E
#AA399E is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.187 H 332.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AA399E |
|---|---|
| RGB | rgb(170, 57, 158) |
| HSL | hsl(306, 50%, 45%) |
| HSV | hsv(306, 66%, 67%) |
| CMYK | cmyk(0%, 66.5%, 7.1%, 33.3%) |
| CIE-LAB | lab(44.15, 57.69, -31.65) |
| CIE-LCH | lch(44.15, 65.80, 331.25°) |
| OKLab | oklab(54.3% 0.1656 -0.0868) |
| OKLCH | oklch(54.3% 0.187 332.3) |
| XYZ | xyz(24.2123, 13.9428, 33.7571) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.76
Medium Purple
#9E43A2
ΔE00 2.87
Warm Purple
#952E8F
ΔE00 5.25
Barney
#AC1DB8
ΔE00 5.77
Purply
#983FB2
ΔE00 6.00
Barney Purple
#A00498
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA399E #39AA45
analogous
#7E39AA #AA399E #AA3965
triadic
#AA399E #9EAA39 #399EAA
tetradic
#AA399E #AA7E39 #39AA45 #3965AA
square
#AA399E #AA7E39 #39AA45 #3965AA
split-complementary
#AA399E #65AA39 #39AA7E
monochromatic
#4E1A49 #7C2A73 #AA399E #C759BC #D787CE
Accessibility & contrast
On white
5.54
#AA399E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#AA399E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA399E
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA399E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA399E | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#B14466
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #aa399e; /* rgb */ color: rgb(170, 57, 158); /* oklch */ color: oklch(54.3% 0.187 332.3);
Tailwind
colors: {
custom: {
50: '#c678bb',
500: '#aa399e',
950: '#000000',
},
}SCSS
$custom: #aa399e; $custom-light: #c678bb; $custom-dark: #000000;
JSON
{
"hex": "#aa399e",
"rgb": {
"r": 170,
"g": 57,
"b": 158
},
"hsl": {
"h": 306.372,
"s": 49.78,
"l": 44.51
},
"oklch": {
"l": 0.54297,
"c": 0.18692,
"h": 332.3
},
"luminance": 0.13941
}Semantic roles & 50–950 ramp
primary
#AA399E
secondary
#7EC185
accent
#D95D4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81