#AB82CD#AB82CD

#AB82CD is a light, moderate violet. Relative luminance 0.290; OKLCH L 67.4% C 0.116 H 308.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB82CD
RGBrgb(171, 130, 205)
HSLhsl(273, 43%, 66%)
HSVhsv(273, 37%, 80%)
CMYKcmyk(16.6%, 36.6%, 0%, 19.6%)
CIE-LABlab(60.81, 30.00, -32.86)
CIE-LCHlch(60.81, 44.50, 312.39°)
OKLaboklab(67.41% 0.0725 -0.0908)
OKLCHoklch(67.41% 0.116 308.6)
XYZxyz(35.7946, 29.0313, 61.4637)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82CD #A4CD82
analogous
#8582CD #AB82CD #CD82C9
triadic
#AB82CD #CDAB82 #82CDAB
tetradic
#AB82CD #CD8582 #A4CD82 #82C9CD
square
#AB82CD #CD8582 #A4CD82 #82C9CD
split-complementary
#AB82CD #C9CD82 #82CD85
monochromatic
#6F3D98 #8E56BC #AB82CD #C8AEDE #E6D9F0

Accessibility & contrast

On white

3.09
#AB82CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AB82CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB82CD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82CD#FFFFFF#000000##000000
##AB82CD1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#A78D9E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab82cd;
/* rgb */ color: rgb(171, 130, 205);
/* oklch */ color: oklch(67.4% 0.116 308.6);
Tailwind
colors: {
  custom: {
    50: '#c5a7dc',
    500: '#ab82cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab82cd;
$custom-light: #c5a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82cd",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 272.8,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.11619,
    "h": 308.6
  },
  "luminance": 0.29031
}

Semantic roles & 50–950 ramp

primary
#AB82CD
secondary
#D4E2C9
accent
#B6306C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB82CD

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

Preview Lab → · Contrast checker → · Palette generator →

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