#AA82DF#AA82DF

#AA82DF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.2% C 0.139 H 302.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AA82DF
RGBrgb(170, 130, 223)
HSLhsl(266, 59%, 69%)
HSVhsv(266, 42%, 87%)
CMYKcmyk(23.8%, 41.7%, 0%, 12.5%)
CIE-LABlab(61.52, 33.83, -41.85)
CIE-LCHlch(61.52, 53.81, 308.95°)
OKLaboklab(68.19% 0.075 -0.1167)
OKLCHoklch(68.19% 0.139 302.7)
XYZxyz(37.8766, 29.8390, 73.5618)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA82DF #B7DF82
analogous
#8289DF #AA82DF #D882DF
triadic
#AA82DF #DFAA82 #82DFAA
tetradic
#AA82DF #DF8289 #B7DF82 #82DFD8
square
#AA82DF #DF8289 #B7DF82 #82DFD8
split-complementary
#AA82DF #DFD882 #89DF82
monochromatic
#6A2FB8 #8951D3 #AA82DF #CBB3EB #ECE3F8

Accessibility & contrast

On white

3.01
#AA82DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#AA82DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA82DF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA82DF#FFFFFF#000000##000000
##AA82DF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E2
Deuteranopia (green-blind)
#7394DD
Tritanopia (blue-blind)
#A191A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa82df;
/* rgb */ color: rgb(170, 130, 223);
/* oklch */ color: oklch(68.2% 0.139 302.7);
Tailwind
colors: {
  custom: {
    50: '#c5a7e9',
    500: '#aa82df',
    950: '#000000',
  },
}
SCSS
$custom: #aa82df;
$custom-light: #c5a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa82df",
  "rgb": {
    "r": 170,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 265.806,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68187,
    "c": 0.13869,
    "h": 302.7
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#AA82DF
secondary
#E0ECD1
accent
#C71F7F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA82DF

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

Preview Lab → · Contrast checker → · Palette generator →

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