#AA98CD#AA98CD

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

Color values

HEX#AA98CD
RGBrgb(170, 152, 205)
HSLhsl(260, 35%, 70%)
HSVhsv(260, 26%, 80%)
CMYKcmyk(17.1%, 25.9%, 0%, 19.6%)
CIE-LABlab(66.07, 17.25, -24.75)
CIE-LCHlch(66.07, 30.17, 304.87°)
OKLaboklab(71.41% 0.0391 -0.0678)
OKLCHoklch(71.41% 0.078 300)
XYZxyz(38.8229, 35.4102, 62.5353)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98CD #BBCD98
analogous
#98A1CD #AA98CD #C498CD
triadic
#AA98CD #CDAA98 #98CDAA
tetradic
#AA98CD #CD98A1 #BBCD98 #98CDC4
square
#AA98CD #CD98A1 #BBCD98 #98CDC4
split-complementary
#AA98CD #CDC498 #A1CD98
monochromatic
#684D9E #886FB9 #AA98CD #CCC1E1 #EEEAF5

Accessibility & contrast

On white

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

On black

8.08
#AA98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98CD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98CD#FFFFFF#000000##000000
##AA98CD1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CF
Deuteranopia (green-blind)
#90A0CB
Tritanopia (blue-blind)
#A4A0AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aa98cd;
/* rgb */ color: rgb(170, 152, 205);
/* oklch */ color: oklch(71.4% 0.078 300.0);
Tailwind
colors: {
  custom: {
    50: '#c4b6dc',
    500: '#aa98cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa98cd;
$custom-light: #c4b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98cd",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 260.377,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.71412,
    "c": 0.0783,
    "h": 300
  },
  "luminance": 0.3541
}

Semantic roles & 50–950 ramp

primary
#AA98CD
secondary
#E3E8D9
accent
#AD3886
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AA98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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