#AB3ACB#AB3ACB

#AB3ACB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.224 H 317.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB3ACB
RGBrgb(171, 58, 203)
HSLhsl(287, 58%, 51%)
HSVhsv(287, 71%, 80%)
CMYKcmyk(15.8%, 71.4%, 0%, 20.4%)
CIE-LABlab(46.97, 65.51, -53.60)
CIE-LCHlch(46.97, 84.64, 320.71°)
OKLaboklab(57.17% 0.1657 -0.1506)
OKLCHoklch(57.17% 0.224 317.7)
XYZxyz(29.0856, 15.9971, 58.0440)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ACB #5ACB3A
analogous
#623ACB #AB3ACB #CB3AA2
triadic
#AB3ACB #CBAB3A #3ACBAB
tetradic
#AB3ACB #CB623A #5ACB3A #3AA2CB
square
#AB3ACB #CB623A #5ACB3A #3AA2CB
split-complementary
#AB3ACB #A2CB3A #3ACB62
monochromatic
#5C1D6E #842A9E #AB3ACB #C06AD8 #D49BE5

Accessibility & contrast

On white

5.00
#AB3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AB3ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ACB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ACB#FFFFFF#000000##FFFFFF
##AB3ACB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#AA577F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3acb;
/* rgb */ color: rgb(171, 58, 203);
/* oklch */ color: oklch(57.2% 0.224 317.7);
Tailwind
colors: {
  custom: {
    50: '#c87adb',
    500: '#ab3acb',
    950: '#000000',
  },
}
SCSS
$custom: #ab3acb;
$custom-light: #c87adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3acb",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 286.759,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.22386,
    "h": 317.7
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#AB3ACB
secondary
#9FD090
accent
#E14669
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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