#AB49D0#AB49D0

#AB49D0 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.210 H 315.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB49D0
RGBrgb(171, 73, 208)
HSLhsl(284, 59%, 55%)
HSVhsv(284, 65%, 82%)
CMYKcmyk(17.8%, 64.9%, 0%, 18.4%)
CIE-LABlab(49.47, 60.34, -52.47)
CIE-LCHlch(49.47, 79.96, 318.99°)
OKLaboklab(59.06% 0.1495 -0.1473)
OKLCHoklch(59.06% 0.21 315.4)
XYZxyz(30.5605, 17.9782, 61.5226)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49D0 #6ED049
analogous
#6849D0 #AB49D0 #D049B1
triadic
#AB49D0 #D0AB49 #49D0AB
tetradic
#AB49D0 #D06849 #6ED049 #49B1D0
square
#AB49D0 #D06849 #6ED049 #49B1D0
split-complementary
#AB49D0 #B1D049 #49D068
monochromatic
#64217E #8B2DAF #AB49D0 #C17ADD #D8AAE9

Accessibility & contrast

On white

4.57
#AB49D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AB49D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49D0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49D0#FFFFFF#000000##000000
##AB49D01.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A70D4
Deuteranopia (green-blind)
#4778CD
Tritanopia (blue-blind)
#A86286
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab49d0;
/* rgb */ color: rgb(171, 73, 208);
/* oklch */ color: oklch(59.1% 0.210 315.4);
Tailwind
colors: {
  custom: {
    50: '#c882df',
    500: '#ab49d0',
    950: '#000000',
  },
}
SCSS
$custom: #ab49d0;
$custom-light: #c882df;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49d0",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 208
  },
  "hsl": {
    "h": 283.556,
    "s": 58.952,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.20989,
    "h": 315.4
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

primary
#AB49D0
secondary
#AED79E
accent
#E24671
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB49D0

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

Preview Lab → · Contrast checker → · Palette generator →

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