#AA99EE#AA99EE

#AA99EE is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.1% C 0.122 H 292.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AA99EE
RGBrgb(170, 153, 238)
HSLhsl(252, 71%, 77%)
HSVhsv(252, 36%, 93%)
CMYKcmyk(28.6%, 35.7%, 0%, 6.7%)
CIE-LABlab(67.65, 24.45, -40.52)
CIE-LCHlch(67.65, 47.33, 301.11°)
OKLaboklab(73.07% 0.0463 -0.1129)
OKLCHoklch(73.07% 0.122 292.3)
XYZxyz(43.3976, 37.5008, 85.8243)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA99EE #DDEE99
analogous
#99B3EE #AA99EE #D599EE
triadic
#AA99EE #EEAA99 #99EEAA
tetradic
#AA99EE #EE99B3 #DDEE99 #99EED5
square
#AA99EE #EE99B3 #DDEE99 #99EED5
split-complementary
#AA99EE #EED599 #B3EE99
monochromatic
#5330DD #7E65E5 #AA99EE #D6CDF7 #E9E5FB

Accessibility & contrast

On white

2.47
#AA99EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#AA99EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA99EE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA99EE#FFFFFF#000000##000000
##AA99EE1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F1
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#9BA8B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa99ee;
/* rgb */ color: rgb(170, 153, 238);
/* oklch */ color: oklch(73.1% 0.122 292.3);
Tailwind
colors: {
  custom: {
    50: '#c5b7f4',
    500: '#aa99ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa99ee;
$custom-light: #c5b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa99ee",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 252,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73068,
    "c": 0.12203,
    "h": 292.3
  },
  "luminance": 0.37502
}

Semantic roles & 50–950 ramp

primary
#AA99EE
secondary
#EDF2D9
accent
#D312AD
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA99EE

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

Preview Lab → · Contrast checker → · Palette generator →

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