#AA82DC#AA82DC

#AA82DC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.0% C 0.135 H 303.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AA82DC
RGBrgb(170, 130, 220)
HSLhsl(267, 56%, 69%)
HSVhsv(267, 41%, 86%)
CMYKcmyk(22.7%, 40.9%, 0%, 13.7%)
CIE-LABlab(61.38, 33.12, -40.39)
CIE-LCHlch(61.38, 52.24, 309.35°)
OKLaboklab(68.04% 0.0744 -0.1125)
OKLCHoklch(68.04% 0.135 303.5)
XYZxyz(37.4757, 29.6787, 71.4505)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA82DC #B4DC82
analogous
#8287DC #AA82DC #D782DC
triadic
#AA82DC #DCAA82 #82DCAA
tetradic
#AA82DC #DC8287 #B4DC82 #82DCD7
square
#AA82DC #DC8287 #B4DC82 #82DCD7
split-complementary
#AA82DC #DCD782 #87DC82
monochromatic
#6B32B2 #8952CF #AA82DC #CBB2E9 #EBE2F7

Accessibility & contrast

On white

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

On black

6.94
#AA82DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA82DC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA82DC#FFFFFF#000000##000000
##AA82DC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#7594DA
Tritanopia (blue-blind)
#A291A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa82dc;
/* rgb */ color: rgb(170, 130, 220);
/* oklch */ color: oklch(68.0% 0.135 303.5);
Tailwind
colors: {
  custom: {
    50: '#c5a7e7',
    500: '#aa82dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa82dc;
$custom-light: #c5a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa82dc",
  "rgb": {
    "r": 170,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 266.667,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68036,
    "c": 0.13487,
    "h": 303.5
  },
  "luminance": 0.29679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA82DC

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

Preview Lab → · Contrast checker → · Palette generator →

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