#AB2DBE#AB2DBE

#AB2DBE is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.227 H 322.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB2DBE
RGBrgb(171, 45, 190)
HSLhsl(292, 62%, 46%)
HSVhsv(292, 76%, 75%)
CMYKcmyk(10%, 76.3%, 0%, 25.5%)
CIE-LABlab(44.59, 67.61, -49.86)
CIE-LCHlch(44.59, 84.00, 323.59°)
OKLaboklab(55.22% 0.1787 -0.1395)
OKLCHoklch(55.22% 0.227 322)
XYZxyz(27.0263, 14.2540, 50.0330)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DBE #40BE2D
analogous
#622DBE #AB2DBE #BE2D88
triadic
#AB2DBE #BEAB2D #2DBEAB
tetradic
#AB2DBE #BE622D #40BE2D #2D88BE
square
#AB2DBE #BE622D #40BE2D #2D88BE
split-complementary
#AB2DBE #88BE2D #2DBE62
monochromatic
#52165B #7E218D #AB2DBE #C552D6 #D584E2

Accessibility & contrast

On white

5.45
#AB2DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB2DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2DBE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2DBE#FFFFFF#000000##FFFFFF
##AB2DBE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#AD4A75
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab2dbe;
/* rgb */ color: rgb(171, 45, 190);
/* oklch */ color: oklch(55.2% 0.227 322.0);
Tailwind
colors: {
  custom: {
    50: '#c874d2',
    500: '#ab2dbe',
    950: '#000000',
  },
}
SCSS
$custom: #ab2dbe;
$custom-light: #c874d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2dbe",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 292.138,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.22669,
    "h": 322
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#AB2DBE
secondary
#86CB7C
accent
#E54358
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AB2DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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