#AB3CBA#AB3CBA

#AB3CBA is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.207 H 322.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB3CBA
RGBrgb(171, 60, 186)
HSLhsl(293, 51%, 48%)
HSVhsv(293, 68%, 73%)
CMYKcmyk(8.1%, 67.7%, 0%, 27.1%)
CIE-LABlab(46.23, 61.57, -44.92)
CIE-LCHlch(46.23, 76.21, 323.89°)
OKLaboklab(56.31% 0.1645 -0.1252)
OKLCHoklch(56.31% 0.207 322.7)
XYZxyz(27.2725, 15.4363, 47.9879)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CBA #4BBA3C
analogous
#6C3CBA #AB3CBA #BA3C8A
triadic
#AB3CBA #BAAB3C #3CBAAB
tetradic
#AB3CBA #BA6C3C #4BBA3C #3C8ABA
square
#AB3CBA #BA6C3C #4BBA3C #3C8ABA
split-complementary
#AB3CBA #8ABA3C #3CBA6C
monochromatic
#561E5D #802D8C #AB3CBA #C166CE #D494DC

Accessibility & contrast

On white

5.14
#AB3CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AB3CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CBA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CBA#FFFFFF#000000##FFFFFF
##AB3CBA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BE
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#AD5176
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3cba;
/* rgb */ color: rgb(171, 60, 186);
/* oklch */ color: oklch(56.3% 0.207 322.7);
Tailwind
colors: {
  custom: {
    50: '#c77bcf',
    500: '#ab3cba',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cba;
$custom-light: #c77bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cba",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 292.857,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.20669,
    "h": 322.7
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#AB3CBA
secondary
#91C88A
accent
#DB4D5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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