#AA9DF2#AA9DF2

#AA9DF2 is a light, vivid blue. Relative luminance 0.391; OKLCH L 74.0% C 0.121 H 290.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AA9DF2
RGBrgb(170, 157, 242)
HSLhsl(249, 77%, 78%)
HSVhsv(249, 35%, 95%)
CMYKcmyk(29.8%, 35.1%, 0%, 5.1%)
CIE-LABlab(68.80, 23.18, -40.91)
CIE-LCHlch(68.80, 47.02, 299.54°)
OKLaboklab(74.01% 0.0418 -0.114)
OKLCHoklch(74.01% 0.121 290.1)
XYZxyz(44.6575, 39.0699, 89.1756)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9DF2 #E5F29D
analogous
#9DBAF2 #AA9DF2 #D49DF2
triadic
#AA9DF2 #F2AA9D #9DF2AA
tetradic
#AA9DF2 #F29DBA #E5F29D #9DF2D4
square
#AA9DF2 #F29DBA #E5F29D #9DF2D4
split-complementary
#AA9DF2 #F2D49D #BAF29D
monochromatic
#4C31E4 #7B67EB #AA9DF2 #D9D3F9 #E8E4FB

Accessibility & contrast

On white

2.38
#AA9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AA9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9DF2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9DF2#FFFFFF#000000##000000
##AA9DF21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F5
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#99ACBC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aa9df2;
/* rgb */ color: rgb(170, 157, 242);
/* oklch */ color: oklch(74.0% 0.121 290.1);
Tailwind
colors: {
  custom: {
    50: '#c5baf6',
    500: '#aa9df2',
    950: '#000000',
  },
}
SCSS
$custom: #aa9df2;
$custom-light: #c5baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9df2",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 249.176,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74005,
    "c": 0.12145,
    "h": 290.1
  },
  "luminance": 0.39071
}

Semantic roles & 50–950 ramp

primary
#AA9DF2
secondary
#EFF3D8
accent
#D90DBA
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AA9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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