#AB49CD#AB49CD

#AB49CD is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.207 H 316.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB49CD
RGBrgb(171, 73, 205)
HSLhsl(285, 57%, 55%)
HSVhsv(285, 64%, 80%)
CMYKcmyk(16.6%, 64.4%, 0%, 19.6%)
CIE-LABlab(49.29, 59.74, -51.03)
CIE-LCHlch(49.29, 78.57, 319.50°)
OKLaboklab(58.87% 0.1496 -0.1431)
OKLCHoklch(58.87% 0.207 316.3)
XYZxyz(30.1949, 17.8319, 59.5971)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49CD #6BCD49
analogous
#6949CD #AB49CD #CD49AD
triadic
#AB49CD #CDAB49 #49CDAB
tetradic
#AB49CD #CD6949 #6BCD49 #49ADCD
square
#AB49CD #CD6949 #6BCD49 #49ADCD
split-complementary
#AB49CD #ADCD49 #49CD69
monochromatic
#63227A #8A2FAA #AB49CD #C179DA #D7A9E7

Accessibility & contrast

On white

4.60
#AB49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AB49CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49CD#FFFFFF#000000##FFFFFF
##AB49CD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#A96185
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab49cd;
/* rgb */ color: rgb(171, 73, 205);
/* oklch */ color: oklch(58.9% 0.207 316.3);
Tailwind
colors: {
  custom: {
    50: '#c782dd',
    500: '#ab49cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab49cd;
$custom-light: #c782dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49cd",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 284.545,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.20703,
    "h": 316.3
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#AB49CD
secondary
#ABD59D
accent
#E0486F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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