#AA98B6#AA98B6
#AA98B6 is a light, muted violet. Relative luminance 0.344; OKLCH L 70.5% C 0.047 H 311.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AA98B6 |
|---|---|
| RGB | rgb(170, 152, 182) |
| HSL | hsl(276, 17%, 65%) |
| HSV | hsv(276, 16%, 71%) |
| CMYK | cmyk(6.6%, 16.5%, 0%, 28.6%) |
| CIE-LAB | lab(65.26, 12.32, -13.13) |
| CIE-LCH | lch(65.26, 18.00, 313.18°) |
| OKLab | oklab(70.53% 0.0317 -0.0354) |
| OKLCH | oklch(70.53% 0.047 311.9) |
| XYZ | xyz(36.2479, 34.3802, 48.9734) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 6.92
Dusty Lavender
#AC86A8
ΔE00 7.02
Lilac
#C8A2C8
ΔE00 7.14
Lavender
#B39DDB
ΔE00 8.87
Purpley Grey
#947E94
ΔE00 9.13
Pale Purple
#B790D4
ΔE00 9.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA98B6 #A4B698
analogous
#9B98B6 #AA98B6 #B698B3
triadic
#AA98B6 #B6AA98 #98B6AA
tetradic
#AA98B6 #B69B98 #A4B698 #98B3B6
square
#AA98B6 #B69B98 #A4B698 #98B3B6
split-complementary
#AA98B6 #B3B698 #98B69B
monochromatic
#6D587C #8C749D #AA98B6 #C8BCCF #E5E0E9
Accessibility & contrast
On white
2.67
#AA98B6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#AA98B6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA98B6
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA98B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA98B6 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#949DB7
Deuteranopia (green-blind)
#979FB5
Tritanopia (blue-blind)
#A99BA2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #aa98b6; /* rgb */ color: rgb(170, 152, 182); /* oklch */ color: oklch(70.5% 0.047 311.9);
Tailwind
colors: {
custom: {
50: '#c3b6cb',
500: '#aa98b6',
950: '#000000',
},
}SCSS
$custom: #aa98b6; $custom-light: #c3b6cb; $custom-dark: #000000;
JSON
{
"hex": "#aa98b6",
"rgb": {
"r": 170,
"g": 152,
"b": 182
},
"hsl": {
"h": 276,
"s": 17.045,
"l": 65.49
},
"oklch": {
"l": 0.70525,
"c": 0.04748,
"h": 311.9
},
"luminance": 0.3438
}Semantic roles & 50–950 ramp
primary
#AA98B6
secondary
#D4DAD0
accent
#9B4A6B
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#121113
muted
#818082