#AB19CA#AB19CA

#AB19CA is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.8% C 0.251 H 319.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB19CA
RGBrgb(171, 25, 202)
HSLhsl(289, 78%, 45%)
HSVhsv(289, 88%, 79%)
CMYKcmyk(15.3%, 87.6%, 0%, 20.8%)
CIE-LABlab(43.68, 74.66, -58.32)
CIE-LCHlch(43.68, 94.74, 322.00°)
OKLaboklab(54.83% 0.19 -0.1642)
OKLCHoklch(54.83% 0.251 319.2)
XYZxyz(27.8015, 13.6189, 57.0300)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB19CA #38CA19
analogous
#5319CA #AB19CA #CA1990
triadic
#AB19CA #CAAB19 #19CAAB
tetradic
#AB19CA #CA5319 #38CA19 #1990CA
square
#AB19CA #CA5319 #38CA19 #1990CA
split-complementary
#AB19CA #90CA19 #19CA53
monochromatic
#4F0C5D #7D1294 #AB19CA #C83AE7 #D770ED

Accessibility & contrast

On white

5.64
#AB19CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB19CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB19CA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB19CA#FFFFFF#000000##FFFFFF
##AB19CA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#2A6CC6
Tritanopia (blue-blind)
#AB4878
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab19ca;
/* rgb */ color: rgb(171, 25, 202);
/* oklch */ color: oklch(54.8% 0.251 319.2);
Tailwind
colors: {
  custom: {
    50: '#c96edb',
    500: '#ab19ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab19ca;
$custom-light: #c96edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab19ca",
  "rgb": {
    "r": 171,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 289.492,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54829,
    "c": 0.25115,
    "h": 319.2
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#AB19CA
secondary
#7DD46B
accent
#F43355
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AB19CA

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

Preview Lab → · Contrast checker → · Palette generator →

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