#AB3ABF#AB3ABF

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

Color values

HEX#AB3ABF
RGBrgb(171, 58, 191)
HSLhsl(291, 53%, 49%)
HSVhsv(291, 70%, 75%)
CMYKcmyk(10.5%, 69.6%, 0%, 25.1%)
CIE-LABlab(46.24, 63.26, -47.81)
CIE-LCHlch(46.24, 79.30, 322.92°)
OKLaboklab(56.41% 0.1664 -0.1336)
OKLCHoklch(56.41% 0.213 321.2)
XYZxyz(27.7106, 15.4471, 50.8021)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ABF #4EBF3A
analogous
#683ABF #AB3ABF #BF3A91
triadic
#AB3ABF #BFAB3A #3ABFAB
tetradic
#AB3ABF #BF683A #4EBF3A #3A91BF
square
#AB3ABF #BF683A #4EBF3A #3A91BF
split-complementary
#AB3ABF #91BF3A #3ABF68
monochromatic
#571D61 #812C90 #AB3ABF #C066D0 #D495DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3ABF#FFFFFF#000000##FFFFFF
##AB3ABF1.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)
#0066C3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#AC5279
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3abf;
/* rgb */ color: rgb(171, 58, 191);
/* oklch */ color: oklch(56.4% 0.213 321.2);
Tailwind
colors: {
  custom: {
    50: '#c87ad3',
    500: '#ab3abf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3abf;
$custom-light: #c87ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3abf",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 290.977,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.21344,
    "h": 321.2
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#AB3ABF
secondary
#94CA8B
accent
#DD4B61
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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