#AC82DB#AC82DB

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

Color values

HEX#AC82DB
RGBrgb(172, 130, 219)
HSLhsl(268, 55%, 68%)
HSVhsv(268, 41%, 86%)
CMYKcmyk(21.5%, 40.6%, 0%, 14.1%)
CIE-LABlab(61.53, 33.47, -39.59)
CIE-LCHlch(61.53, 51.84, 310.21°)
OKLaboklab(68.18% 0.0766 -0.1101)
OKLCHoklch(68.18% 0.134 304.8)
XYZxyz(37.7794, 29.8506, 70.7755)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC82DB #B1DB82
analogous
#8284DB #AC82DB #D982DB
triadic
#AC82DB #DBAC82 #82DBAC
tetradic
#AC82DB #DB8284 #B1DB82 #82DBD9
square
#AC82DB #DB8284 #B1DB82 #82DBD9
split-complementary
#AC82DB #DBD982 #84DB82
monochromatic
#6E33B0 #8C52CD #AC82DB #CCB2E9 #EBE1F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC82DB#FFFFFF#000000##000000
##AC82DB1.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)
#6D93DE
Deuteranopia (green-blind)
#7695D9
Tritanopia (blue-blind)
#A590A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac82db;
/* rgb */ color: rgb(172, 130, 219);
/* oklch */ color: oklch(68.2% 0.134 304.8);
Tailwind
colors: {
  custom: {
    50: '#c6a7e6',
    500: '#ac82db',
    950: '#000000',
  },
}
SCSS
$custom: #ac82db;
$custom-light: #c6a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac82db",
  "rgb": {
    "r": 172,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 268.315,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68179,
    "c": 0.13414,
    "h": 304.8
  },
  "luminance": 0.2985
}

Semantic roles & 50–950 ramp

primary
#AC82DB
secondary
#DDEACF
accent
#C32377
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AC82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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