#AB3CB4#AB3CB4

#AB3CB4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.202 H 324.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB3CB4
RGBrgb(171, 60, 180)
HSLhsl(296, 50%, 47%)
HSVhsv(296, 67%, 71%)
CMYKcmyk(5%, 66.7%, 0%, 29.4%)
CIE-LABlab(45.89, 60.49, -41.94)
CIE-LCHlch(45.89, 73.60, 325.27°)
OKLaboklab(55.96% 0.1645 -0.1165)
OKLCHoklch(55.96% 0.202 324.7)
XYZxyz(26.6480, 15.1865, 44.6989)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CB4 #45B43C
analogous
#6F3CB4 #AB3CB4 #B43C81
triadic
#AB3CB4 #B4AB3C #3CB4AB
tetradic
#AB3CB4 #B46F3C #45B43C #3C81B4
square
#AB3CB4 #B46F3C #45B43C #3C81B4
split-complementary
#AB3CB4 #81B43C #3CB46F
monochromatic
#541D58 #7F2D86 #AB3CB4 #C362CB #D590DA

Accessibility & contrast

On white

5.20
#AB3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB3CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CB4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CB4#FFFFFF#000000##FFFFFF
##AB3CB41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B7
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#AF4F73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3cb4;
/* rgb */ color: rgb(171, 60, 180);
/* oklch */ color: oklch(56.0% 0.202 324.7);
Tailwind
colors: {
  custom: {
    50: '#c77bcb',
    500: '#ab3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cb4;
$custom-light: #c77bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cb4",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 295.5,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.20155,
    "h": 324.7
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#AB3CB4
secondary
#8BC587
accent
#DA4E59
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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