#AA8DF8#AA8DF8

#AA8DF8 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.154 H 294.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AA8DF8
RGBrgb(170, 141, 248)
HSLhsl(256, 88%, 76%)
HSVhsv(256, 43%, 97%)
CMYKcmyk(31.5%, 43.1%, 0%, 2.7%)
CIE-LABlab(65.26, 33.71, -49.77)
CIE-LCHlch(65.26, 60.11, 304.12°)
OKLaboklab(71.4% 0.0642 -0.1397)
OKLCHoklch(71.4% 0.154 294.7)
XYZxyz(43.0415, 34.3724, 93.1556)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DF8 #DBF88D
analogous
#8DA6F8 #AA8DF8 #E08DF8
triadic
#AA8DF8 #F8AA8D #8DF8AA
tetradic
#AA8DF8 #F88DA6 #DBF88D #8DF8E0
square
#AA8DF8 #F88DA6 #DBF88D #8DF8E0
split-complementary
#AA8DF8 #F8E08D #A6F88D
monochromatic
#541AF1 #7F53F4 #AA8DF8 #D5C7FC #EAE2FD

Accessibility & contrast

On white

2.67
#AA8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AA8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DF8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DF8#FFFFFF#000000##000000
##AA8DF81.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#99A1B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8df8;
/* rgb */ color: rgb(170, 141, 248);
/* oklch */ color: oklch(71.4% 0.154 294.7);
Tailwind
colors: {
  custom: {
    50: '#c6aefb',
    500: '#aa8df8',
    950: '#000000',
  },
}
SCSS
$custom: #aa8df8;
$custom-light: #c6aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8df8",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 256.262,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.15375,
    "h": 294.7
  },
  "luminance": 0.34373
}

Semantic roles & 50–950 ramp

primary
#AA8DF8
secondary
#EDF5D6
accent
#E500A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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