#AA8DFB#AA8DFB

#AA8DFB is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.6% C 0.158 H 294.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AA8DFB
RGBrgb(170, 141, 251)
HSLhsl(256, 93%, 77%)
HSVhsv(256, 44%, 98%)
CMYKcmyk(32.3%, 43.8%, 0%, 1.6%)
CIE-LABlab(65.40, 34.47, -51.18)
CIE-LCHlch(65.40, 61.70, 303.96°)
OKLaboklab(71.56% 0.0646 -0.1438)
OKLCHoklch(71.56% 0.158 294.2)
XYZxyz(43.5106, 34.5601, 95.6265)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DFB #DEFB8D
analogous
#8DA7FB #AA8DFB #E18DFB
triadic
#AA8DFB #FBAA8D #8DFBAA
tetradic
#AA8DFB #FB8DA7 #DEFB8D #8DFBE1
square
#AA8DFB #FB8DA7 #DEFB8D #8DFBE1
split-complementary
#AA8DFB #FBE18D #A7FB8D
monochromatic
#5217F7 #7E52F9 #AA8DFB #D6C8FD #E9E1FE

Accessibility & contrast

On white

2.65
#AA8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#AA8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DFB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DFB#FFFFFF#000000##000000
##AA8DFB1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#98A1B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa8dfb;
/* rgb */ color: rgb(170, 141, 251);
/* oklch */ color: oklch(71.6% 0.158 294.2);
Tailwind
colors: {
  custom: {
    50: '#c6aefd',
    500: '#aa8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8dfb;
$custom-light: #c6aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8dfb",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 255.818,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7156,
    "c": 0.15767,
    "h": 294.2
  },
  "luminance": 0.34561
}

Semantic roles & 50–950 ramp

primary
#AA8DFB
secondary
#EDF6D5
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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