#AA82DB#AA82DB

#AA82DB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.0% C 0.134 H 303.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AA82DB
RGBrgb(170, 130, 219)
HSLhsl(267, 55%, 68%)
HSVhsv(267, 41%, 86%)
CMYKcmyk(22.4%, 40.6%, 0%, 14.1%)
CIE-LABlab(61.33, 32.89, -39.90)
CIE-LCHlch(61.33, 51.71, 309.50°)
OKLaboklab(67.99% 0.0742 -0.1111)
OKLCHoklch(67.99% 0.134 303.8)
XYZxyz(37.3437, 29.6259, 70.7551)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA82DB #B3DB82
analogous
#8286DB #AA82DB #D682DB
triadic
#AA82DB #DBAA82 #82DBAA
tetradic
#AA82DB #DB8286 #B3DB82 #82DBD6
square
#AA82DB #DB8286 #B3DB82 #82DBD6
split-complementary
#AA82DB #DBD682 #86DB82
monochromatic
#6B33B0 #8A52CD #AA82DB #CAB2E9 #EBE1F6

Accessibility & contrast

On white

3.03
#AA82DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AA82DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA82DB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA82DB#FFFFFF#000000##000000
##AA82DB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DE
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#A290A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa82db;
/* rgb */ color: rgb(170, 130, 219);
/* oklch */ color: oklch(68.0% 0.134 303.8);
Tailwind
colors: {
  custom: {
    50: '#c5a7e6',
    500: '#aa82db',
    950: '#000000',
  },
}
SCSS
$custom: #aa82db;
$custom-light: #c5a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa82db",
  "rgb": {
    "r": 170,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 266.966,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67986,
    "c": 0.13359,
    "h": 303.8
  },
  "luminance": 0.29626
}

Semantic roles & 50–950 ramp

primary
#AA82DB
secondary
#DEEACF
accent
#C3237B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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