#AA98DC#AA98DC

#AA98DC is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.1% C 0.099 H 296.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AA98DC
RGBrgb(170, 152, 220)
HSLhsl(256, 49%, 73%)
HSVhsv(256, 31%, 86%)
CMYKcmyk(22.7%, 30.9%, 0%, 13.7%)
CIE-LABlab(66.65, 20.69, -32.17)
CIE-LCHlch(66.65, 38.25, 302.74°)
OKLaboklab(72.05% 0.0433 -0.0889)
OKLCHoklch(72.05% 0.099 296)
XYZxyz(40.7211, 36.1695, 72.5323)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98DC #CADC98
analogous
#98A8DC #AA98DC #CC98DC
triadic
#AA98DC #DCAA98 #98DCAA
tetradic
#AA98DC #DC98A8 #CADC98 #98DCCC
square
#AA98DC #DC98A8 #CADC98 #98DCCC
split-complementary
#AA98DC #DCCC98 #A8DC98
monochromatic
#603FBA #846ACC #AA98DC #D0C6EC #ECE8F7

Accessibility & contrast

On white

2.55
#AA98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AA98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98DC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98DC#FFFFFF#000000##000000
##AA98DC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3DF
Deuteranopia (green-blind)
#8AA1DA
Tritanopia (blue-blind)
#A0A3B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aa98dc;
/* rgb */ color: rgb(170, 152, 220);
/* oklch */ color: oklch(72.1% 0.099 296.0);
Tailwind
colors: {
  custom: {
    50: '#c4b6e7',
    500: '#aa98dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa98dc;
$custom-light: #c4b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98dc",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 255.882,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72052,
    "c": 0.09891,
    "h": 296
  },
  "luminance": 0.3617
}

Semantic roles & 50–950 ramp

primary
#AA98DC
secondary
#EAEEDD
accent
#BD2995
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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