#AB49CF#AB49CF

#AB49CF is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.209 H 315.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB49CF
RGBrgb(171, 73, 207)
HSLhsl(284, 58%, 55%)
HSVhsv(284, 65%, 81%)
CMYKcmyk(17.4%, 64.7%, 0%, 18.8%)
CIE-LABlab(49.41, 60.14, -51.99)
CIE-LCHlch(49.41, 79.50, 319.16°)
OKLaboklab(59% 0.1495 -0.1459)
OKLCHoklch(59% 0.209 315.7)
XYZxyz(30.4379, 17.9291, 60.8767)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49CF #6DCF49
analogous
#6849CF #AB49CF #CF49B0
triadic
#AB49CF #CFAB49 #49CFAB
tetradic
#AB49CF #CF6849 #6DCF49 #49B0CF
square
#AB49CF #CF6849 #6DCF49 #49B0CF
split-complementary
#AB49CF #B0CF49 #49CF68
monochromatic
#64217D #8B2EAD #AB49CF #C179DC #D8AAE9

Accessibility & contrast

On white

4.58
#AB49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AB49CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49CF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49CF#FFFFFF#000000##000000
##AB49CF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#A96286
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab49cf;
/* rgb */ color: rgb(171, 73, 207);
/* oklch */ color: oklch(59.0% 0.209 315.7);
Tailwind
colors: {
  custom: {
    50: '#c882de',
    500: '#ab49cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab49cf;
$custom-light: #c882de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49cf",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 283.881,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.20894,
    "h": 315.7
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#AB49CF
secondary
#ADD69E
accent
#E14670
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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