#AB3CB5#AB3CB5

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

Color values

HEX#AB3CB5
RGBrgb(171, 60, 181)
HSLhsl(295, 50%, 47%)
HSVhsv(295, 67%, 71%)
CMYKcmyk(5.5%, 66.9%, 0%, 29%)
CIE-LABlab(45.94, 60.67, -42.44)
CIE-LCHlch(45.94, 74.04, 325.03°)
OKLaboklab(56.02% 0.1645 -0.118)
OKLCHoklch(56.02% 0.202 324.3)
XYZxyz(26.7502, 15.2274, 45.2373)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CB5 #46B53C
analogous
#6E3CB5 #AB3CB5 #B53C83
triadic
#AB3CB5 #B5AB3C #3CB5AB
tetradic
#AB3CB5 #B56E3C #46B53C #3C83B5
square
#AB3CB5 #B56E3C #46B53C #3C83B5
split-complementary
#AB3CB5 #83B53C #3CB56E
monochromatic
#541E59 #802D87 #AB3CB5 #C363CB #D491DB

Accessibility & contrast

On white

5.19
#AB3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AB3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CB5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CB5#FFFFFF#000000##FFFFFF
##AB3CB51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B9
Deuteranopia (green-blind)
#5171B2
Tritanopia (blue-blind)
#AE4F74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3cb5;
/* rgb */ color: rgb(171, 60, 181);
/* oklch */ color: oklch(56.0% 0.202 324.3);
Tailwind
colors: {
  custom: {
    50: '#c77bcc',
    500: '#ab3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cb5;
$custom-light: #c77bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cb5",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 295.041,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.2024,
    "h": 324.3
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#AB3CB5
secondary
#8CC687
accent
#DA4E5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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