#AB2CBD#AB2CBD

#AB2CBD is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.1% C 0.227 H 322.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB2CBD
RGBrgb(171, 44, 189)
HSLhsl(293, 62%, 46%)
HSVhsv(293, 77%, 74%)
CMYKcmyk(9.5%, 76.7%, 0%, 25.9%)
CIE-LABlab(44.43, 67.74, -49.55)
CIE-LCHlch(44.43, 83.92, 323.82°)
OKLaboklab(55.08% 0.1796 -0.1386)
OKLCHoklch(55.08% 0.227 322.3)
XYZxyz(26.8796, 14.1350, 49.4468)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2CBD #3EBD2C
analogous
#632CBD #AB2CBD #BD2C86
triadic
#AB2CBD #BDAB2C #2CBDAB
tetradic
#AB2CBD #BD632C #3EBD2C #2C86BD
square
#AB2CBD #BD632C #3EBD2C #2C86BD
split-complementary
#AB2CBD #86BD2C #2CBD63
monochromatic
#51155A #7E208B #AB2CBD #C650D6 #D682E2

Accessibility & contrast

On white

5.49
#AB2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB2CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2CBD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2CBD#FFFFFF#000000##FFFFFF
##AB2CBD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#AD4974
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab2cbd;
/* rgb */ color: rgb(171, 44, 189);
/* oklch */ color: oklch(55.1% 0.227 322.3);
Tailwind
colors: {
  custom: {
    50: '#c874d1',
    500: '#ab2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab2cbd;
$custom-light: #c874d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2cbd",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 292.552,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.22685,
    "h": 322.3
  },
  "luminance": 0.14133
}

Semantic roles & 50–950 ramp

primary
#AB2CBD
secondary
#84CB7A
accent
#E54257
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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