#AB2EBD#AB2EBD

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

Color values

HEX#AB2EBD
RGBrgb(171, 46, 189)
HSLhsl(292, 61%, 46%)
HSVhsv(292, 76%, 74%)
CMYKcmyk(9.5%, 75.7%, 0%, 25.9%)
CIE-LABlab(44.64, 67.11, -49.20)
CIE-LCHlch(44.64, 83.22, 323.76°)
OKLaboklab(55.24% 0.1779 -0.1376)
OKLCHoklch(55.24% 0.225 322.3)
XYZxyz(26.9559, 14.2876, 49.4722)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EBD #40BD2E
analogous
#642EBD #AB2EBD #BD2E87
triadic
#AB2EBD #BDAB2E #2EBDAB
tetradic
#AB2EBD #BD642E #40BD2E #2E87BD
square
#AB2EBD #BD642E #40BD2E #2E87BD
split-complementary
#AB2EBD #87BD2E #2EBD64
monochromatic
#52165B #7E228C #AB2EBD #C553D5 #D584E1

Accessibility & contrast

On white

5.44
#AB2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EBD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EBD#FFFFFF#000000##FFFFFF
##AB2EBD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#446EBA
Tritanopia (blue-blind)
#AD4A74
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab2ebd;
/* rgb */ color: rgb(171, 46, 189);
/* oklch */ color: oklch(55.2% 0.225 322.3);
Tailwind
colors: {
  custom: {
    50: '#c875d1',
    500: '#ab2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ebd;
$custom-light: #c875d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ebd",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 292.448,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.2249,
    "h": 322.3
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#AB2EBD
secondary
#86CA7C
accent
#E44458
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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