#AA3FA7#AA3FA7
#AA3FA7 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.186 H 328.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AA3FA7 |
|---|---|
| RGB | rgb(170, 63, 167) |
| HSL | hsl(302, 46%, 46%) |
| HSV | hsv(302, 63%, 67%) |
| CMYK | cmyk(0%, 62.9%, 1.8%, 33.3%) |
| CIE-LAB | lab(45.49, 56.73, -34.91) |
| CIE-LCH | lch(45.49, 66.61, 328.39°) |
| OKLab | oklab(55.41% 0.1593 -0.0962) |
| OKLCH | oklch(55.41% 0.186 328.9) |
| XYZ | xyz(25.3299, 14.8928, 38.0922) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.49
Medium Purple
#9E43A2
ΔE00 2.24
Purply
#983FB2
ΔE00 4.90
Barney
#AC1DB8
ΔE00 5.32
Purpley Pink
#C83CB9
ΔE00 5.99
Warm Purple
#952E8F
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA3FA7 #3FAA42
analogous
#773FAA #AA3FA7 #AA3F71
triadic
#AA3FA7 #A7AA3F #3FA7AA
tetradic
#AA3FA7 #AA773F #3FAA42 #3F71AA
square
#AA3FA7 #AA773F #3FAA42 #3F71AA
split-complementary
#AA3FA7 #71AA3F #3FAA77
monochromatic
#511E4F #7D2E7B #AA3FA7 #C562C2 #D58ED3
Accessibility & contrast
On white
5.28
#AA3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#AA3FA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA3FA7
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA3FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA3FA7 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3462AA
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#B04C6D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #aa3fa7; /* rgb */ color: rgb(170, 63, 167); /* oklch */ color: oklch(55.4% 0.186 328.9);
Tailwind
colors: {
custom: {
50: '#c67cc1',
500: '#aa3fa7',
950: '#000000',
},
}SCSS
$custom: #aa3fa7; $custom-light: #c67cc1; $custom-dark: #000000;
JSON
{
"hex": "#aa3fa7",
"rgb": {
"r": 170,
"g": 63,
"b": 167
},
"hsl": {
"h": 301.682,
"s": 45.923,
"l": 45.686
},
"oklch": {
"l": 0.55414,
"c": 0.18607,
"h": 328.9
},
"luminance": 0.14891
}Semantic roles & 50–950 ramp
primary
#AA3FA7
secondary
#85C086
accent
#D65652
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81