#AB2DBB#AB2DBB

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

Color values

HEX#AB2DBB
RGBrgb(171, 45, 187)
HSLhsl(293, 61%, 45%)
HSVhsv(293, 76%, 73%)
CMYKcmyk(8.6%, 75.9%, 0%, 26.7%)
CIE-LABlab(44.41, 67.08, -48.40)
CIE-LCHlch(44.41, 82.72, 324.19°)
OKLaboklab(55.03% 0.1789 -0.1353)
OKLCHoklch(55.03% 0.224 322.9)
XYZxyz(26.7017, 14.1242, 48.3239)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DBB #3DBB2D
analogous
#642DBB #AB2DBB #BB2D84
triadic
#AB2DBB #BBAB2D #2DBBAB
tetradic
#AB2DBB #BB642D #3DBB2D #2D84BB
square
#AB2DBB #BB642D #3DBB2D #2D84BB
split-complementary
#AB2DBB #84BB2D #2DBB64
monochromatic
#511558 #7E218A #AB2DBB #C650D5 #D682E1

Accessibility & contrast

On white

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

On black

3.82
#AB2DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB2DBB#FFFFFF#000000##FFFFFF
##AB2DBB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#AD4973
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab2dbb;
/* rgb */ color: rgb(171, 45, 187);
/* oklch */ color: oklch(55.0% 0.224 322.9);
Tailwind
colors: {
  custom: {
    50: '#c874d0',
    500: '#ab2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #ab2dbb;
$custom-light: #c874d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2dbb",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 293.239,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.22428,
    "h": 322.9
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#AB2DBB
secondary
#83CA7A
accent
#E44356
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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