#AA42B3#AA42B3
#AA42B3 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.192 H 324.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AA42B3 |
|---|---|
| RGB | rgb(170, 66, 179) |
| HSL | hsl(295, 46%, 48%) |
| HSV | hsv(295, 63%, 70%) |
| CMYK | cmyk(5%, 63.1%, 0%, 29.8%) |
| CIE-LAB | lab(46.58, 57.58, -40.27) |
| CIE-LCH | lch(46.58, 70.26, 325.03°) |
| OKLab | oklab(56.41% 0.1564 -0.1117) |
| OKLCH | oklch(56.41% 0.192 324.5) |
| XYZ | xyz(26.6618, 15.6987, 44.2649) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.32
Ugly Purple
#A442A0
ΔE00 3.42
Purply
#983FB2
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.94
Purpley Pink
#C83CB9
ΔE00 5.65
Darkorchid
#9932CC
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA42B3 #4BB342
analogous
#7142B3 #AA42B3 #B34283
triadic
#AA42B3 #B3AA42 #42B3AA
tetradic
#AA42B3 #B37142 #4BB342 #4283B3
square
#AA42B3 #B37142 #4BB342 #4283B3
split-complementary
#AA42B3 #83B342 #42B371
monochromatic
#55215A #803286 #AA42B3 #C16AC8 #D397D9
Accessibility & contrast
On white
5.07
#AA42B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#AA42B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA42B3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA42B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA42B3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B6
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#AD5375
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #aa42b3; /* rgb */ color: rgb(170, 66, 179); /* oklch */ color: oklch(56.4% 0.192 324.5);
Tailwind
colors: {
custom: {
50: '#c67eca',
500: '#aa42b3',
950: '#000000',
},
}SCSS
$custom: #aa42b3; $custom-light: #c67eca; $custom-dark: #000000;
JSON
{
"hex": "#aa42b3",
"rgb": {
"r": 170,
"g": 66,
"b": 179
},
"hsl": {
"h": 295.221,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.56408,
"c": 0.19222,
"h": 324.5
},
"luminance": 0.15697
}Semantic roles & 50–950 ramp
primary
#AA42B3
secondary
#91C48C
accent
#D6525D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82