#AB2BC3#AB2BC3

#AB2BC3 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.4% C 0.233 H 320.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB2BC3
RGBrgb(171, 43, 195)
HSLhsl(291, 64%, 47%)
HSVhsv(291, 78%, 76%)
CMYKcmyk(12.3%, 77.9%, 0%, 23.5%)
CIE-LABlab(44.70, 69.10, -52.61)
CIE-LCHlch(44.70, 86.85, 322.72°)
OKLaboklab(55.4% 0.1798 -0.1476)
OKLCHoklch(55.4% 0.233 320.6)
XYZxyz(27.5076, 14.3273, 52.9357)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BC3 #43C32B
analogous
#5F2BC3 #AB2BC3 #C32B8F
triadic
#AB2BC3 #C3AB2B #2BC3AB
tetradic
#AB2BC3 #C35F2B #43C32B #2B8FC3
square
#AB2BC3 #C35F2B #43C32B #2B8FC3
split-complementary
#AB2BC3 #8FC32B #2BC35F
monochromatic
#53155F #7F2091 #AB2BC3 #C452D9 #D584E4

Accessibility & contrast

On white

5.43
#AB2BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB2BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BC3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BC3#FFFFFF#000000##FFFFFF
##AB2BC31.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#3D6EC0
Tritanopia (blue-blind)
#AC4B77
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab2bc3;
/* rgb */ color: rgb(171, 43, 195);
/* oklch */ color: oklch(55.4% 0.233 320.6);
Tailwind
colors: {
  custom: {
    50: '#c874d6',
    500: '#ab2bc3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2bc3;
$custom-light: #c874d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2bc3",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 290.526,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.23257,
    "h": 320.6
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#AB2BC3
secondary
#89CD7D
accent
#E7415B
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AB2BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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