#AA9DEB#AA9DEB

#AA9DEB is a light, moderate violet. Relative luminance 0.387; OKLCH L 73.7% C 0.112 H 291.0°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AA9DEB
RGBrgb(170, 157, 235)
HSLhsl(250, 66%, 77%)
HSVhsv(250, 33%, 92%)
CMYKcmyk(27.7%, 33.2%, 0%, 7.8%)
CIE-LABlab(68.50, 21.46, -37.55)
CIE-LCHlch(68.50, 43.25, 299.74°)
OKLaboklab(73.68% 0.0401 -0.1043)
OKLCHoklch(73.68% 0.112 291)
XYZxyz(43.6262, 38.6574, 83.7443)
Luminance0.3866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9DEB #DEEB9D
analogous
#9DB7EB #AA9DEB #D19DEB
triadic
#AA9DEB #EBAA9D #9DEBAA
tetradic
#AA9DEB #EB9DB7 #DEEB9D #9DEBD1
square
#AA9DEB #EB9DB7 #DEEB9D #9DEBD1
split-complementary
#AA9DEB #EBD19D #B7EB9D
monochromatic
#5237D6 #7E6AE1 #AA9DEB #D6D0F5 #E9E6FA

Accessibility & contrast

On white

2.41
#AA9DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AA9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9DEB
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9DEB#FFFFFF#000000##000000
##AA9DEB1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8EE
Deuteranopia (green-blind)
#89A5E9
Tritanopia (blue-blind)
#9CABB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aa9deb;
/* rgb */ color: rgb(170, 157, 235);
/* oklch */ color: oklch(73.7% 0.112 291.0);
Tailwind
colors: {
  custom: {
    50: '#c5baf1',
    500: '#aa9deb',
    950: '#000000',
  },
}
SCSS
$custom: #aa9deb;
$custom-light: #c5baf1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9deb",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 250,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73677,
    "c": 0.1118,
    "h": 291
  },
  "luminance": 0.38658
}

Semantic roles & 50–950 ramp

primary
#AA9DEB
secondary
#EDF1DA
accent
#CE18B0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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