#AA98CA#AA98CA

#AA98CA is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.3% C 0.074 H 301.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AA98CA
RGBrgb(170, 152, 202)
HSLhsl(262, 32%, 69%)
HSVhsv(262, 25%, 79%)
CMYKcmyk(15.8%, 24.8%, 0%, 20.8%)
CIE-LABlab(65.96, 16.58, -23.25)
CIE-LCHlch(65.96, 28.56, 305.49°)
OKLaboklab(71.29% 0.0382 -0.0636)
OKLCHoklch(71.29% 0.074 301)
XYZxyz(38.4643, 35.2667, 60.6464)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98CA #B8CA98
analogous
#989FCA #AA98CA #C398CA
triadic
#AA98CA #CAAA98 #98CAAA
tetradic
#AA98CA #CA989F #B8CA98 #98CAC3
square
#AA98CA #CA989F #B8CA98 #98CAC3
split-complementary
#AA98CA #CAC398 #9FCA98
monochromatic
#694F99 #8970B5 #AA98CA #CBC0DF #EDE9F4

Accessibility & contrast

On white

2.61
#AA98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AA98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98CA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98CA#FFFFFF#000000##000000
##AA98CA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#A59FA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa98ca;
/* rgb */ color: rgb(170, 152, 202);
/* oklch */ color: oklch(71.3% 0.074 301.0);
Tailwind
colors: {
  custom: {
    50: '#c3b6da',
    500: '#aa98ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa98ca;
$custom-light: #c3b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98ca",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 261.6,
    "s": 32.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71289,
    "c": 0.0742,
    "h": 301
  },
  "luminance": 0.35267
}

Semantic roles & 50–950 ramp

primary
#AA98CA
secondary
#E1E6D8
accent
#AB3B82
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #AA98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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