#AB2BC2#AB2BC2

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

Color values

HEX#AB2BC2
RGBrgb(171, 43, 194)
HSLhsl(291, 64%, 46%)
HSVhsv(291, 78%, 76%)
CMYKcmyk(11.9%, 77.8%, 0%, 23.9%)
CIE-LABlab(44.63, 68.92, -52.13)
CIE-LCHlch(44.63, 86.42, 322.90°)
OKLaboklab(55.33% 0.1799 -0.1462)
OKLCHoklch(55.33% 0.232 320.9)
XYZxyz(27.3949, 14.2822, 52.3423)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BC2 #42C22B
analogous
#602BC2 #AB2BC2 #C22B8E
triadic
#AB2BC2 #C2AB2B #2BC2AB
tetradic
#AB2BC2 #C2602B #42C22B #2B8EC2
square
#AB2BC2 #C2602B #42C22B #2B8EC2
split-complementary
#AB2BC2 #8EC22B #2BC260
monochromatic
#53155E #7F2090 #AB2BC2 #C452D9 #D584E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2BC2#FFFFFF#000000##FFFFFF
##AB2BC21.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#3D6EBF
Tritanopia (blue-blind)
#AC4B76
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab2bc2;
/* rgb */ color: rgb(171, 43, 194);
/* oklch */ color: oklch(55.3% 0.232 320.9);
Tailwind
colors: {
  custom: {
    50: '#c874d5',
    500: '#ab2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab2bc2;
$custom-light: #c874d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2bc2",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 290.861,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.23178,
    "h": 320.9
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#AB2BC2
secondary
#88CD7C
accent
#E7415A
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AB2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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