#AA8DFE#AA8DFE

#AA8DFE is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.162 H 293.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#AA8DFE
RGBrgb(170, 141, 254)
HSLhsl(255, 98%, 77%)
HSVhsv(255, 44%, 100%)
CMYKcmyk(33.1%, 44.5%, 0%, 0.4%)
CIE-LABlab(65.55, 35.23, -52.58)
CIE-LCHlch(65.55, 63.29, 303.82°)
OKLaboklab(71.72% 0.0651 -0.1479)
OKLCHoklch(71.72% 0.162 293.7)
XYZxyz(43.9873, 34.7507, 98.1368)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DFE #E1FE8D
analogous
#8DA9FE #AA8DFE #E28DFE
triadic
#AA8DFE #FEAA8D #8DFEAA
tetradic
#AA8DFE #FE8DA9 #E1FE8D #8DFEE2
square
#AA8DFE #FE8DA9 #E1FE8D #8DFEE2
split-complementary
#AA8DFE #FEE28D #A9FE8D
monochromatic
#5014FD #7D50FD #AA8DFE #D7CAFF #E8E1FF

Accessibility & contrast

On white

2.64
#AA8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#AA8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DFE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DFE#FFFFFF#000000##000000
##AA8DFE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#96A2B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa8dfe;
/* rgb */ color: rgb(170, 141, 254);
/* oklch */ color: oklch(71.7% 0.162 293.7);
Tailwind
colors: {
  custom: {
    50: '#c6aeff',
    500: '#aa8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #aa8dfe;
$custom-light: #c6aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8dfe",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 255.398,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.16158,
    "h": 293.7
  },
  "luminance": 0.34752
}

Semantic roles & 50–950 ramp

primary
#AA8DFE
secondary
#EEF7D4
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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