#AB49CA#AB49CA

#AB49CA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.7% C 0.204 H 317.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB49CA
RGBrgb(171, 73, 202)
HSLhsl(286, 55%, 54%)
HSVhsv(286, 64%, 79%)
CMYKcmyk(15.3%, 63.9%, 0%, 20.8%)
CIE-LABlab(49.12, 59.14, -49.58)
CIE-LCHlch(49.12, 77.18, 320.02°)
OKLaboklab(58.69% 0.1496 -0.1389)
OKLCHoklch(58.69% 0.204 317.1)
XYZxyz(29.8362, 17.6885, 57.7082)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49CA #68CA49
analogous
#6B49CA #AB49CA #CA49A9
triadic
#AB49CA #CAAB49 #49CAAB
tetradic
#AB49CA #CA6B49 #68CA49 #49A9CA
square
#AB49CA #CA6B49 #68CA49 #49A9CA
split-complementary
#AB49CA #A9CA49 #49CA6B
monochromatic
#622276 #8930A6 #AB49CA #C178D8 #D7A8E6

Accessibility & contrast

On white

4.63
#AB49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AB49CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49CA#FFFFFF#000000##FFFFFF
##AB49CA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCE
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#AA6083
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab49ca;
/* rgb */ color: rgb(171, 73, 202);
/* oklch */ color: oklch(58.7% 0.204 317.1);
Tailwind
colors: {
  custom: {
    50: '#c782db',
    500: '#ab49ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab49ca;
$custom-light: #c782db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49ca",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 285.581,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.20418,
    "h": 317.1
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#AB49CA
secondary
#A9D39C
accent
#DE4A6D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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