#AB7DC2#AB7DC2

#AB7DC2 is a light, moderate purple. Relative luminance 0.272; OKLCH L 66.0% C 0.111 H 314.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB7DC2
RGBrgb(171, 125, 194)
HSLhsl(280, 36%, 63%)
HSVhsv(280, 36%, 76%)
CMYKcmyk(11.9%, 35.6%, 0%, 23.9%)
CIE-LABlab(59.18, 30.42, -29.18)
CIE-LCHlch(59.18, 42.15, 316.19°)
OKLaboklab(66.02% 0.0774 -0.0802)
OKLCHoklch(66.02% 0.111 314)
XYZxyz(33.8642, 27.2208, 54.4987)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DC2 #94C27D
analogous
#887DC2 #AB7DC2 #C27DB7
triadic
#AB7DC2 #C2AB7D #7DC2AB
tetradic
#AB7DC2 #C2887D #94C27D #7DB7C2
square
#AB7DC2 #C2887D #94C27D #7DB7C2
split-complementary
#AB7DC2 #B7C27D #7DC288
monochromatic
#6E3F86 #9053AE #AB7DC2 #C6A7D6 #E1D0E9

Accessibility & contrast

On white

3.26
#AB7DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AB7DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DC2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DC2#FFFFFF#000000##000000
##AB7DC21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#728CC5
Deuteranopia (green-blind)
#7C90C0
Tritanopia (blue-blind)
#A98697
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab7dc2;
/* rgb */ color: rgb(171, 125, 194);
/* oklch */ color: oklch(66.0% 0.111 314.0);
Tailwind
colors: {
  custom: {
    50: '#c5a3d4',
    500: '#ab7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab7dc2;
$custom-light: #c5a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7dc2",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 280,
    "s": 36.126,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66023,
    "c": 0.11144,
    "h": 314
  },
  "luminance": 0.2722
}

Semantic roles & 50–950 ramp

primary
#AB7DC2
secondary
#C9DAC1
accent
#AF365F
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83

Preview Lab

Preview with #AB7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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