#AB3CB7#AB3CB7

#AB3CB7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.1% C 0.204 H 323.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB3CB7
RGBrgb(171, 60, 183)
HSLhsl(294, 51%, 48%)
HSVhsv(294, 67%, 72%)
CMYKcmyk(6.6%, 67.2%, 0%, 28.2%)
CIE-LABlab(46.06, 61.03, -43.43)
CIE-LCHlch(46.06, 74.90, 324.56°)
OKLaboklab(56.13% 0.1645 -0.1209)
OKLCHoklch(56.13% 0.204 323.7)
XYZxyz(26.9569, 15.3101, 46.3258)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CB7 #48B73C
analogous
#6D3CB7 #AB3CB7 #B73C86
triadic
#AB3CB7 #B7AB3C #3CB7AB
tetradic
#AB3CB7 #B76D3C #48B73C #3C86B7
square
#AB3CB7 #B76D3C #48B73C #3C86B7
split-complementary
#AB3CB7 #86B73C #3CB76D
monochromatic
#551E5B #802D89 #AB3CB7 #C264CC #D492DB

Accessibility & contrast

On white

5.17
#AB3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB3CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CB7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CB7#FFFFFF#000000##FFFFFF
##AB3CB71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BB
Deuteranopia (green-blind)
#5072B4
Tritanopia (blue-blind)
#AE5075
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3cb7;
/* rgb */ color: rgb(171, 60, 183);
/* oklch */ color: oklch(56.1% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#c77bcd',
    500: '#ab3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cb7;
$custom-light: #c77bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cb7",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 294.146,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.20412,
    "h": 323.7
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#AB3CB7
secondary
#8EC688
accent
#DA4E5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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