#AA8DEB#AA8DEB

#AA8DEB is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.7% C 0.137 H 297.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#AA8DEB
RGBrgb(170, 141, 235)
HSLhsl(259, 70%, 74%)
HSVhsv(259, 40%, 92%)
CMYKcmyk(27.7%, 40%, 0%, 7.8%)
CIE-LABlab(64.64, 30.50, -43.59)
CIE-LCHlch(64.64, 53.20, 304.98°)
OKLaboklab(70.73% 0.062 -0.1218)
OKLCHoklch(70.73% 0.137 297)
XYZxyz(41.0943, 33.5935, 82.9003)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DEB #CEEB8D
analogous
#8D9FEB #AA8DEB #D98DEB
triadic
#AA8DEB #EBAA8D #8DEBAA
tetradic
#AA8DEB #EB8D9F #CEEB8D #8DEBD9
square
#AA8DEB #EB8D9F #CEEB8D #8DEBD9
split-complementary
#AA8DEB #EBD98D #9FEB8D
monochromatic
#5D26D8 #8359E2 #AA8DEB #D1C1F4 #ECE5FA

Accessibility & contrast

On white

2.72
#AA8DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#AA8DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DEB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DEB#FFFFFF#000000##000000
##AA8DEB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#9D9DB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8deb;
/* rgb */ color: rgb(170, 141, 235);
/* oklch */ color: oklch(70.7% 0.137 297.0);
Tailwind
colors: {
  custom: {
    50: '#c5aef2',
    500: '#aa8deb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8deb;
$custom-light: #c5aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8deb",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 258.511,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70731,
    "c": 0.13664,
    "h": 297
  },
  "luminance": 0.33594
}

Semantic roles & 50–950 ramp

primary
#AA8DEB
secondary
#EAF2D9
accent
#D21397
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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