#AB3ABB#AB3ABB

#AB3ABB is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.210 H 322.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB3ABB
RGBrgb(171, 58, 187)
HSLhsl(293, 53%, 48%)
HSVhsv(293, 69%, 73%)
CMYKcmyk(8.6%, 69%, 0%, 26.7%)
CIE-LABlab(46.01, 62.53, -45.85)
CIE-LCHlch(46.01, 77.54, 323.75°)
OKLaboklab(56.17% 0.1666 -0.1279)
OKLCHoklch(56.17% 0.21 322.5)
XYZxyz(27.2764, 15.2734, 48.5154)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ABB #4ABB3A
analogous
#6A3ABB #AB3ABB #BB3A8A
triadic
#AB3ABB #BBAB3A #3ABBAB
tetradic
#AB3ABB #BB6A3A #4ABB3A #3A8ABB
square
#AB3ABB #BB6A3A #4ABB3A #3A8ABB
split-complementary
#AB3ABB #8ABB3A #3ABB6A
monochromatic
#561D5E #802C8C #AB3ABB #C163CF #D492DD

Accessibility & contrast

On white

5.18
#AB3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3ABB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ABB#FFFFFF#000000##FFFFFF
##AB3ABB1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#AD5076
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3abb;
/* rgb */ color: rgb(171, 58, 187);
/* oklch */ color: oklch(56.2% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#c87ad0',
    500: '#ab3abb',
    950: '#000000',
  },
}
SCSS
$custom: #ab3abb;
$custom-light: #c87ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3abb",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 292.558,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.21001,
    "h": 322.5
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#AB3ABB
secondary
#90C888
accent
#DC4C5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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