#AB82DC#AB82DC

#AB82DC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.1% C 0.135 H 304.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AB82DC
RGBrgb(171, 130, 220)
HSLhsl(267, 56%, 69%)
HSVhsv(267, 41%, 86%)
CMYKcmyk(22.3%, 40.9%, 0%, 13.7%)
CIE-LABlab(61.47, 33.41, -40.23)
CIE-LCHlch(61.47, 52.30, 309.71°)
OKLaboklab(68.13% 0.0756 -0.112)
OKLCHoklch(68.13% 0.135 304)
XYZxyz(37.6928, 29.7906, 71.4607)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82DC #B3DC82
analogous
#8286DC #AB82DC #D882DC
triadic
#AB82DC #DCAB82 #82DCAB
tetradic
#AB82DC #DC8286 #B3DC82 #82DCD8
square
#AB82DC #DC8286 #B3DC82 #82DCD8
split-complementary
#AB82DC #DCD882 #86DC82
monochromatic
#6C32B2 #8B52CF #AB82DC #CBB2E9 #EBE2F7

Accessibility & contrast

On white

3.02
#AB82DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AB82DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB82DC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82DC#FFFFFF#000000##000000
##AB82DC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab82dc;
/* rgb */ color: rgb(171, 130, 220);
/* oklch */ color: oklch(68.1% 0.135 304.0);
Tailwind
colors: {
  custom: {
    50: '#c5a7e7',
    500: '#ab82dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab82dc;
$custom-light: #c5a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82dc",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 267.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68132,
    "c": 0.13513,
    "h": 304
  },
  "luminance": 0.2979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB82DC

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

Preview Lab → · Contrast checker → · Palette generator →

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