#AA8DF5#AA8DF5

#AA8DF5 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.150 H 295.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#AA8DF5
RGBrgb(170, 141, 245)
HSLhsl(257, 84%, 76%)
HSVhsv(257, 42%, 96%)
CMYKcmyk(30.6%, 42.4%, 0%, 3.9%)
CIE-LABlab(65.11, 32.96, -48.35)
CIE-LCHlch(65.11, 58.52, 304.29°)
OKLaboklab(71.24% 0.0637 -0.1356)
OKLCHoklch(71.24% 0.15 295.2)
XYZxyz(42.5798, 34.1877, 90.7241)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DF5 #D8F58D
analogous
#8DA4F5 #AA8DF5 #DE8DF5
triadic
#AA8DF5 #F5AA8D #8DF5AA
tetradic
#AA8DF5 #F58DA4 #D8F58D #8DF5DE
square
#AA8DF5 #F58DA4 #D8F58D #8DF5DE
split-complementary
#AA8DF5 #F5DE8D #A4F58D
monochromatic
#561CEB #8055F0 #AA8DF5 #D4C5FA #EAE3FD

Accessibility & contrast

On white

2.68
#AA8DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#AA8DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DF5
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DF5#FFFFFF#000000##000000
##AA8DF51.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF9
Deuteranopia (green-blind)
#729DF2
Tritanopia (blue-blind)
#9AA0B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8df5;
/* rgb */ color: rgb(170, 141, 245);
/* oklch */ color: oklch(71.2% 0.150 295.2);
Tailwind
colors: {
  custom: {
    50: '#c6aef9',
    500: '#aa8df5',
    950: '#000000',
  },
}
SCSS
$custom: #aa8df5;
$custom-light: #c6aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8df5",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 256.731,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71243,
    "c": 0.14982,
    "h": 295.2
  },
  "luminance": 0.34188
}

Semantic roles & 50–950 ramp

primary
#AA8DF5
secondary
#ECF4D7
accent
#E005A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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