#AA99EB#AA99EB

#AA99EB is a light, moderate violet. Relative luminance 0.373; OKLCH L 72.9% C 0.118 H 292.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#AA99EB
RGBrgb(170, 153, 235)
HSLhsl(252, 67%, 76%)
HSVhsv(252, 35%, 92%)
CMYKcmyk(27.7%, 34.9%, 0%, 7.8%)
CIE-LABlab(67.52, 23.72, -39.08)
CIE-LCHlch(67.52, 45.71, 301.25°)
OKLaboklab(72.93% 0.0456 -0.1087)
OKLCHoklch(72.93% 0.118 292.8)
XYZxyz(42.9605, 37.3260, 83.5224)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA99EB #DAEB99
analogous
#99B1EB #AA99EB #D399EB
triadic
#AA99EB #EBAA99 #99EBAA
tetradic
#AA99EB #EB99B1 #DAEB99 #99EBD3
square
#AA99EB #EB99B1 #DAEB99 #99EBD3
split-complementary
#AA99EB #EBD399 #B1EB99
monochromatic
#5533D7 #7F66E1 #AA99EB #D5CCF5 #EAE5FA

Accessibility & contrast

On white

2.48
#AA99EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#AA99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA99EB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA99EB#FFFFFF#000000##000000
##AA99EB1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EE
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#9CA7B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa99eb;
/* rgb */ color: rgb(170, 153, 235);
/* oklch */ color: oklch(72.9% 0.118 292.8);
Tailwind
colors: {
  custom: {
    50: '#c5b7f1',
    500: '#aa99eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa99eb;
$custom-light: #c5b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa99eb",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 252.439,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72926,
    "c": 0.11793,
    "h": 292.8
  },
  "luminance": 0.37327
}

Semantic roles & 50–950 ramp

primary
#AA99EB
secondary
#EDF1DA
accent
#CF16A9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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