#AA8DFA#AA8DFA

#AA8DFA is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.156 H 294.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AA8DFA
RGBrgb(170, 141, 250)
HSLhsl(256, 92%, 77%)
HSVhsv(256, 44%, 98%)
CMYKcmyk(32%, 43.6%, 0%, 2%)
CIE-LABlab(65.36, 34.22, -50.71)
CIE-LCHlch(65.36, 61.17, 304.01°)
OKLaboklab(71.51% 0.0645 -0.1424)
OKLCHoklch(71.51% 0.156 294.4)
XYZxyz(43.3534, 34.4972, 94.7985)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DFA #DDFA8D
analogous
#8DA7FA #AA8DFA #E18DFA
triadic
#AA8DFA #FAAA8D #8DFAAA
tetradic
#AA8DFA #FA8DA7 #DDFA8D #8DFAE1
square
#AA8DFA #FA8DA7 #DDFA8D #8DFAE1
split-complementary
#AA8DFA #FAE18D #A7FA8D
monochromatic
#5318F5 #7E52F7 #AA8DFA #D6C8FD #E9E2FE

Accessibility & contrast

On white

2.66
#AA8DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AA8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DFA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DFA#FFFFFF#000000##000000
##AA8DFA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa8dfa;
/* rgb */ color: rgb(170, 141, 250);
/* oklch */ color: oklch(71.5% 0.156 294.4);
Tailwind
colors: {
  custom: {
    50: '#c6aefc',
    500: '#aa8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #aa8dfa;
$custom-light: #c6aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8dfa",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 255.963,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71507,
    "c": 0.15636,
    "h": 294.4
  },
  "luminance": 0.34498
}

Semantic roles & 50–950 ramp

primary
#AA8DFA
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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