#AA98DB#AA98DB

#AA98DB is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.0% C 0.098 H 296.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AA98DB
RGBrgb(170, 152, 219)
HSLhsl(256, 48%, 73%)
HSVhsv(256, 31%, 86%)
CMYKcmyk(22.4%, 30.6%, 0%, 14.1%)
CIE-LABlab(66.61, 20.45, -31.68)
CIE-LCHlch(66.61, 37.71, 302.84°)
OKLaboklab(72.01% 0.0431 -0.0875)
OKLCHoklch(72.01% 0.098 296.2)
XYZxyz(40.5891, 36.1167, 71.8369)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98DB #C9DB98
analogous
#98A8DB #AA98DB #CB98DB
triadic
#AA98DB #DBAA98 #98DBAA
tetradic
#AA98DB #DB98A8 #C9DB98 #98DBCB
square
#AA98DB #DB98A8 #C9DB98 #98DBCB
split-complementary
#AA98DB #DBCB98 #A8DB98
monochromatic
#6140B8 #856BCB #AA98DB #CFC5EB #ECE8F7

Accessibility & contrast

On white

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

On black

8.22
#AA98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98DB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98DB#FFFFFF#000000##000000
##AA98DB1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa98db;
/* rgb */ color: rgb(170, 152, 219);
/* oklch */ color: oklch(72.0% 0.098 296.2);
Tailwind
colors: {
  custom: {
    50: '#c4b6e6',
    500: '#aa98db',
    950: '#000000',
  },
}
SCSS
$custom: #aa98db;
$custom-light: #c4b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98db",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 256.119,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72008,
    "c": 0.09753,
    "h": 296.2
  },
  "luminance": 0.36117
}

Semantic roles & 50–950 ramp

primary
#AA98DB
secondary
#E9EEDD
accent
#BB2A94
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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