#AA98EE#AA98EE

#AA98EE is a light, vivid violet. Relative luminance 0.372; OKLCH L 72.9% C 0.124 H 292.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AA98EE
RGBrgb(170, 152, 238)
HSLhsl(253, 72%, 76%)
HSVhsv(253, 36%, 93%)
CMYKcmyk(28.6%, 36.1%, 0%, 6.7%)
CIE-LABlab(67.41, 25.02, -40.90)
CIE-LCHlch(67.41, 47.95, 301.45°)
OKLaboklab(72.88% 0.0476 -0.114)
OKLCHoklch(72.88% 0.124 292.7)
XYZxyz(43.2346, 37.1749, 85.7700)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98EE #DCEE98
analogous
#98B1EE #AA98EE #D598EE
triadic
#AA98EE #EEAA98 #98EEAA
tetradic
#AA98EE #EE98B1 #DCEE98 #98EED5
square
#AA98EE #EE98B1 #DCEE98 #98EED5
split-complementary
#AA98EE #EED598 #B1EE98
monochromatic
#532FDD #7F63E5 #AA98EE #D5CDF7 #E9E5FB

Accessibility & contrast

On white

2.49
#AA98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AA98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98EE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98EE#FFFFFF#000000##000000
##AA98EE1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F1
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#9BA7B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa98ee;
/* rgb */ color: rgb(170, 152, 238);
/* oklch */ color: oklch(72.9% 0.124 292.7);
Tailwind
colors: {
  custom: {
    50: '#c5b6f4',
    500: '#aa98ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa98ee;
$custom-light: #c5b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98ee",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 252.558,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72882,
    "c": 0.12355,
    "h": 292.7
  },
  "luminance": 0.37176
}

Semantic roles & 50–950 ramp

primary
#AA98EE
secondary
#EDF2D9
accent
#D412AB
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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