#AB2EB3#AB2EB3

#AB2EB3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.217 H 325.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB2EB3
RGBrgb(171, 46, 179)
HSLhsl(296, 59%, 44%)
HSVhsv(296, 74%, 70%)
CMYKcmyk(4.5%, 74.3%, 0%, 29.8%)
CIE-LABlab(44.04, 65.38, -44.29)
CIE-LCHlch(44.04, 78.97, 325.89°)
OKLaboklab(54.62% 0.1785 -0.1233)
OKLCHoklch(54.62% 0.217 325.4)
XYZxyz(25.9077, 13.8683, 43.9514)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EB3 #36B32E
analogous
#692EB3 #AB2EB3 #B32E79
triadic
#AB2EB3 #B3AB2E #2EB3AB
tetradic
#AB2EB3 #B3692E #36B32E #2E79B3
square
#AB2EB3 #B3692E #36B32E #2E79B3
split-complementary
#AB2EB3 #79B32E #2EB369
monochromatic
#4E1552 #7C2182 #AB2EB3 #C94DD1 #D87EDE

Accessibility & contrast

On white

5.57
#AB2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EB3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EB3#FFFFFF#000000##FFFFFF
##AB2EB31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#AF456F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2eb3;
/* rgb */ color: rgb(171, 46, 179);
/* oklch */ color: oklch(54.6% 0.217 325.4);
Tailwind
colors: {
  custom: {
    50: '#c874ca',
    500: '#ab2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2eb3;
$custom-light: #c874ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2eb3",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 296.391,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.21692,
    "h": 325.4
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#AB2EB3
secondary
#7BC676
accent
#E2464F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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