#AA99EC#AA99EC

#AA99EC is a light, moderate violet. Relative luminance 0.374; OKLCH L 73.0% C 0.119 H 292.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AA99EC
RGBrgb(170, 153, 236)
HSLhsl(252, 69%, 76%)
HSVhsv(252, 35%, 93%)
CMYKcmyk(28%, 35.2%, 0%, 7.5%)
CIE-LABlab(67.56, 23.96, -39.56)
CIE-LCHlch(67.56, 46.25, 301.20°)
OKLaboklab(72.97% 0.0458 -0.1101)
OKLCHoklch(72.97% 0.119 292.6)
XYZxyz(43.1054, 37.3840, 84.2854)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA99EC #DBEC99
analogous
#99B2EC #AA99EC #D499EC
triadic
#AA99EC #ECAA99 #99ECAA
tetradic
#AA99EC #EC99B2 #DBEC99 #99ECD4
square
#AA99EC #EC99B2 #DBEC99 #99ECD4
split-complementary
#AA99EC #ECD499 #B2EC99
monochromatic
#5432D9 #7F65E2 #AA99EC #D5CDF6 #EAE5FA

Accessibility & contrast

On white

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

On black

8.48
#AA99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA99EC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA99EC#FFFFFF#000000##000000
##AA99EC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#84A3EA
Tritanopia (blue-blind)
#9CA7B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa99ec;
/* rgb */ color: rgb(170, 153, 236);
/* oklch */ color: oklch(73.0% 0.119 292.6);
Tailwind
colors: {
  custom: {
    50: '#c5b7f2',
    500: '#aa99ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa99ec;
$custom-light: #c5b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa99ec",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 252.289,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72973,
    "c": 0.11929,
    "h": 292.6
  },
  "luminance": 0.37385
}

Semantic roles & 50–950 ramp

primary
#AA99EC
secondary
#EDF2D9
accent
#D115AA
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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