#AB4ABF#AB4ABF

#AB4ABF is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.192 H 320.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4ABF
RGBrgb(171, 74, 191)
HSLhsl(290, 48%, 52%)
HSVhsv(290, 61%, 75%)
CMYKcmyk(10.5%, 61.3%, 0%, 25.1%)
CIE-LABlab(48.66, 56.53, -43.96)
CIE-LCHlch(48.66, 71.61, 322.13°)
OKLaboklab(58.16% 0.1484 -0.1225)
OKLCHoklch(58.16% 0.192 320.5)
XYZxyz(28.6462, 17.3184, 51.1140)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ABF #5EBF4A
analogous
#714ABF #AB4ABF #BF4A98
triadic
#AB4ABF #BFAB4A #4ABFAB
tetradic
#AB4ABF #BF714A #5EBF4A #4A98BF
square
#AB4ABF #BF714A #5EBF4A #4A98BF
split-complementary
#AB4ABF #98BF4A #4ABF71
monochromatic
#5E2569 #863597 #AB4ABF #C077CF #D5A4DF

Accessibility & contrast

On white

4.70
#AB4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB4ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4ABF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ABF#FFFFFF#000000##FFFFFF
##AB4ABF1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC3
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#AC5D7E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4abf;
/* rgb */ color: rgb(171, 74, 191);
/* oklch */ color: oklch(58.2% 0.192 320.5);
Tailwind
colors: {
  custom: {
    50: '#c782d3',
    500: '#ab4abf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4abf;
$custom-light: #c782d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4abf",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 289.744,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.19239,
    "h": 320.5
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#AB4ABF
secondary
#A2CC99
accent
#D75068
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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