#AB47D6#AB47D6

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

Color values

HEX#AB47D6
RGBrgb(171, 71, 214)
HSLhsl(282, 64%, 56%)
HSVhsv(282, 67%, 84%)
CMYKcmyk(20.1%, 66.8%, 0%, 16.1%)
CIE-LABlab(49.52, 62.43, -55.82)
CIE-LCHlch(49.52, 83.75, 318.20°)
OKLaboklab(59.21% 0.1514 -0.1572)
OKLCHoklch(59.21% 0.218 313.9)
XYZxyz(31.1834, 18.0204, 65.4409)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47D6 #72D647
analogous
#6347D6 #AB47D6 #D647B9
triadic
#AB47D6 #D6AB47 #47D6AB
tetradic
#AB47D6 #D66347 #72D647 #47B9D6
square
#AB47D6 #D66347 #72D647 #47B9D6
split-complementary
#AB47D6 #B9D647 #47D663
monochromatic
#661E85 #8C29B7 #AB47D6 #C279E1 #D9ABEC

Accessibility & contrast

On white

4.56
#AB47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB47D6#FFFFFF#000000##000000
##AB47D61.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#4078D3
Tritanopia (blue-blind)
#A76389
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab47d6;
/* rgb */ color: rgb(171, 71, 214);
/* oklch */ color: oklch(59.2% 0.218 313.9);
Tailwind
colors: {
  custom: {
    50: '#c881e3',
    500: '#ab47d6',
    950: '#000000',
  },
}
SCSS
$custom: #ab47d6;
$custom-light: #c881e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47d6",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 281.958,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59212,
    "c": 0.21821,
    "h": 313.9
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#AB47D6
secondary
#B1DA9F
accent
#E74173
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AB47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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