#AA8DEE#AA8DEE

#AA8DEE is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.141 H 296.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AA8DEE
RGBrgb(170, 141, 238)
HSLhsl(258, 74%, 74%)
HSVhsv(258, 41%, 93%)
CMYKcmyk(28.6%, 40.8%, 0%, 6.7%)
CIE-LABlab(64.78, 31.23, -45.03)
CIE-LCHlch(64.78, 54.80, 304.75°)
OKLaboklab(70.88% 0.0625 -0.1259)
OKLCHoklch(70.88% 0.141 296.4)
XYZxyz(41.5313, 33.7684, 85.2022)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DEE #D1EE8D
analogous
#8DA1EE #AA8DEE #DB8DEE
triadic
#AA8DEE #EEAA8D #8DEEAA
tetradic
#AA8DEE #EE8DA1 #D1EE8D #8DEEDB
square
#AA8DEE #EE8DA1 #D1EE8D #8DEEDB
split-complementary
#AA8DEE #EEDB8D #A1EE8D
monochromatic
#5B22DE #8258E6 #AA8DEE #D2C2F6 #EBE4FB

Accessibility & contrast

On white

2.71
#AA8DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AA8DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DEE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DEE#FFFFFF#000000##000000
##AA8DEE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF2
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#9C9EB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8dee;
/* rgb */ color: rgb(170, 141, 238);
/* oklch */ color: oklch(70.9% 0.141 296.4);
Tailwind
colors: {
  custom: {
    50: '#c5aef4',
    500: '#aa8dee',
    950: '#000000',
  },
}
SCSS
$custom: #aa8dee;
$custom-light: #c5aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8dee",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 257.938,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70883,
    "c": 0.1406,
    "h": 296.4
  },
  "luminance": 0.33769
}

Semantic roles & 50–950 ramp

primary
#AA8DEE
secondary
#EBF3D8
accent
#D60F9B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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