#AA98BB#AA98BB

#AA98BB is a light, muted violet. Relative luminance 0.346; OKLCH L 70.7% C 0.054 H 308.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AA98BB
RGBrgb(170, 152, 187)
HSLhsl(271, 20%, 66%)
HSVhsv(271, 19%, 73%)
CMYKcmyk(9.1%, 18.7%, 0%, 26.7%)
CIE-LABlab(65.43, 13.35, -15.68)
CIE-LCHlch(65.43, 20.59, 310.42°)
OKLaboklab(70.71% 0.0334 -0.0424)
OKLCHoklch(70.71% 0.054 308.2)
XYZxyz(36.7739, 34.5906, 51.7434)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98BB #A9BB98
analogous
#9998BB #AA98BB #BB98BB
triadic
#AA98BB #BBAA98 #98BBAA
tetradic
#AA98BB #BB9998 #A9BB98 #98BBBB
square
#AA98BB #BB9998 #A9BB98 #98BBBB
split-complementary
#AA98BB #BBBB98 #98BB99
monochromatic
#6D5682 #8C73A3 #AA98BB #C8BDD3 #E7E2EC

Accessibility & contrast

On white

2.65
#AA98BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#AA98BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98BB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98BB#FFFFFF#000000##000000
##AA98BB1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#939EBD
Deuteranopia (green-blind)
#969FBA
Tritanopia (blue-blind)
#A89CA4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa98bb;
/* rgb */ color: rgb(170, 152, 187);
/* oklch */ color: oklch(70.7% 0.054 308.2);
Tailwind
colors: {
  custom: {
    50: '#c3b6cf',
    500: '#aa98bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa98bb;
$custom-light: #c3b6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98bb",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 270.857,
    "s": 20.468,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70708,
    "c": 0.05398,
    "h": 308.2
  },
  "luminance": 0.3459
}

Semantic roles & 50–950 ramp

primary
#AA98BB
secondary
#D7DDD2
accent
#9F4771
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #AA98BB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA98BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva