#AA98CC#AA98CC

#AA98CC is a light, moderate violet. Relative luminance 0.354; OKLCH L 71.4% C 0.077 H 300.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AA98CC
RGBrgb(170, 152, 204)
HSLhsl(261, 34%, 70%)
HSVhsv(261, 25%, 80%)
CMYKcmyk(16.7%, 25.5%, 0%, 20%)
CIE-LABlab(66.03, 17.02, -24.25)
CIE-LCHlch(66.03, 29.63, 305.07°)
OKLaboklab(71.37% 0.0388 -0.0664)
OKLCHoklch(71.37% 0.077 300.3)
XYZxyz(38.7026, 35.3621, 61.9016)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98CC #BACC98
analogous
#98A0CC #AA98CC #C498CC
triadic
#AA98CC #CCAA98 #98CCAA
tetradic
#AA98CC #CC98A0 #BACC98 #98CCC4
square
#AA98CC #CC98A0 #BACC98 #98CCC4
split-complementary
#AA98CC #CCC498 #A0CC98
monochromatic
#694D9C #886FB8 #AA98CC #CCC1E0 #EEEAF5

Accessibility & contrast

On white

2.60
#AA98CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AA98CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98CC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98CC#FFFFFF#000000##000000
##AA98CC1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#90A0CA
Tritanopia (blue-blind)
#A4A0AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa98cc;
/* rgb */ color: rgb(170, 152, 204);
/* oklch */ color: oklch(71.4% 0.077 300.3);
Tailwind
colors: {
  custom: {
    50: '#c3b6db',
    500: '#aa98cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa98cc;
$custom-light: #c3b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98cc",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 260.769,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71371,
    "c": 0.07693,
    "h": 300.3
  },
  "luminance": 0.35362
}

Semantic roles & 50–950 ramp

primary
#AA98CC
secondary
#E2E7D9
accent
#AD3985
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AA98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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