#AA3FB5#AA3FB5
#AA3FB5 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.198 H 323.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AA3FB5 |
|---|---|
| RGB | rgb(170, 63, 181) |
| HSL | hsl(294, 48%, 48%) |
| HSV | hsv(294, 65%, 71%) |
| CMYK | cmyk(6.1%, 65.2%, 0%, 29%) |
| CIE-LAB | lab(46.23, 59.21, -41.99) |
| CIE-LCH | lch(46.23, 72.59, 324.66°) |
| OKLab | oklab(56.19% 0.16 -0.1167) |
| OKLCH | oklch(56.19% 0.198 323.9) |
| XYZ | xyz(26.6948, 15.4388, 45.2810) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.55
Purply
#983FB2
ΔE00 3.62
Ugly Purple
#A442A0
ΔE00 3.78
Barney
#AC1DB8
ΔE00 4.32
Purpley Pink
#C83CB9
ΔE00 5.93
Darkorchid
#9932CC
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA3FB5 #4AB53F
analogous
#6F3FB5 #AA3FB5 #B53F85
triadic
#AA3FB5 #B5AA3F #3FB5AA
tetradic
#AA3FB5 #B56F3F #4AB53F #3F85B5
square
#AA3FB5 #B56F3F #4AB53F #3F85B5
split-complementary
#AA3FB5 #85B53F #3FB56F
monochromatic
#551F5A #7F2F88 #AA3FB5 #C167CA #D394DA
Accessibility & contrast
On white
5.14
#AA3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#AA3FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA3FB5
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA3FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA3FB5 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2565B8
Deuteranopia (green-blind)
#5272B2
Tritanopia (blue-blind)
#AD5175
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #aa3fb5; /* rgb */ color: rgb(170, 63, 181); /* oklch */ color: oklch(56.2% 0.198 323.9);
Tailwind
colors: {
custom: {
50: '#c67ccc',
500: '#aa3fb5',
950: '#000000',
},
}SCSS
$custom: #aa3fb5; $custom-light: #c67ccc; $custom-dark: #000000;
JSON
{
"hex": "#aa3fb5",
"rgb": {
"r": 170,
"g": 63,
"b": 181
},
"hsl": {
"h": 294.407,
"s": 48.361,
"l": 47.843
},
"oklch": {
"l": 0.56192,
"c": 0.19802,
"h": 323.9
},
"luminance": 0.15437
}Semantic roles & 50–950 ramp
primary
#AA3FB5
secondary
#90C58A
accent
#D8505D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82