#AA99EF#AA99EF

#AA99EF is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.1% C 0.123 H 292.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#AA99EF
RGBrgb(170, 153, 239)
HSLhsl(252, 73%, 77%)
HSVhsv(252, 36%, 94%)
CMYKcmyk(28.9%, 36%, 0%, 6.3%)
CIE-LABlab(67.69, 24.70, -41.00)
CIE-LCHlch(67.69, 47.87, 301.06°)
OKLaboklab(73.12% 0.0465 -0.1143)
OKLCHoklch(73.12% 0.123 292.1)
XYZxyz(43.5449, 37.5598, 86.6002)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA99EF #DEEF99
analogous
#99B3EF #AA99EF #D599EF
triadic
#AA99EF #EFAA99 #99EFAA
tetradic
#AA99EF #EF99B3 #DEEF99 #99EFD5
square
#AA99EF #EF99B3 #DEEF99 #99EFD5
split-complementary
#AA99EF #EFD599 #B3EF99
monochromatic
#522FDE #7E64E7 #AA99EF #D6CEF7 #E9E5FB

Accessibility & contrast

On white

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

On black

8.51
#AA99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA99EF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA99EF#FFFFFF#000000##000000
##AA99EF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#82A3ED
Tritanopia (blue-blind)
#9BA8B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa99ef;
/* rgb */ color: rgb(170, 153, 239);
/* oklch */ color: oklch(73.1% 0.123 292.1);
Tailwind
colors: {
  custom: {
    50: '#c5b7f4',
    500: '#aa99ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa99ef;
$custom-light: #c5b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa99ef",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 251.86,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73116,
    "c": 0.12339,
    "h": 292.1
  },
  "luminance": 0.37561
}

Semantic roles & 50–950 ramp

primary
#AA99EF
secondary
#EDF3D8
accent
#D511AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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