#AA8DEF#AA8DEF

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

Color values

HEX#AA8DEF
RGBrgb(170, 141, 239)
HSLhsl(258, 75%, 75%)
HSVhsv(258, 41%, 94%)
CMYKcmyk(28.9%, 41%, 0%, 6.3%)
CIE-LABlab(64.83, 31.48, -45.50)
CIE-LCHlch(64.83, 55.33, 304.68°)
OKLaboklab(70.93% 0.0627 -0.1273)
OKLCHoklch(70.93% 0.142 296.2)
XYZxyz(41.6787, 33.8273, 85.9781)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DEF #D2EF8D
analogous
#8DA1EF #AA8DEF #DB8DEF
triadic
#AA8DEF #EFAA8D #8DEFAA
tetradic
#AA8DEF #EF8DA1 #D2EF8D #8DEFDB
square
#AA8DEF #EF8DA1 #D2EF8D #8DEFDB
split-complementary
#AA8DEF #EFDB8D #A1EF8D
monochromatic
#5A22E0 #8257E7 #AA8DEF #D2C3F7 #EBE4FB

Accessibility & contrast

On white

2.70
#AA8DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AA8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DEF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DEF#FFFFFF#000000##000000
##AA8DEF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#769CED
Tritanopia (blue-blind)
#9B9EB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8def;
/* rgb */ color: rgb(170, 141, 239);
/* oklch */ color: oklch(70.9% 0.142 296.2);
Tailwind
colors: {
  custom: {
    50: '#c5aef4',
    500: '#aa8def',
    950: '#000000',
  },
}
SCSS
$custom: #aa8def;
$custom-light: #c5aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8def",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 257.755,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70933,
    "c": 0.14192,
    "h": 296.2
  },
  "luminance": 0.33828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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