#AB47D8#AB47D8

#AB47D8 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.220 H 313.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB47D8
RGBrgb(171, 71, 216)
HSLhsl(281, 65%, 56%)
HSVhsv(281, 67%, 85%)
CMYKcmyk(20.8%, 67.1%, 0%, 15.3%)
CIE-LABlab(49.65, 62.84, -56.76)
CIE-LCHlch(49.65, 84.68, 317.91°)
OKLaboklab(59.34% 0.1513 -0.1599)
OKLCHoklch(59.34% 0.22 313.4)
XYZxyz(31.4403, 18.1232, 66.7944)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47D8 #74D847
analogous
#6347D8 #AB47D8 #D847BD
triadic
#AB47D8 #D8AB47 #47D8AB
tetradic
#AB47D8 #D86347 #74D847 #47BDD8
square
#AB47D8 #D86347 #74D847 #47BDD8
split-complementary
#AB47D8 #BDD847 #47D863
monochromatic
#671D88 #8D27BA #AB47D8 #C279E3 #D9ACED

Accessibility & contrast

On white

4.54
#AB47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AB47D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB47D8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47D8#FFFFFF#000000##000000
##AB47D81.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#3D78D5
Tritanopia (blue-blind)
#A6648A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab47d8;
/* rgb */ color: rgb(171, 71, 216);
/* oklch */ color: oklch(59.3% 0.220 313.4);
Tailwind
colors: {
  custom: {
    50: '#c881e5',
    500: '#ab47d8',
    950: '#000000',
  },
}
SCSS
$custom: #ab47d8;
$custom-light: #c881e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47d8",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 281.379,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.22011,
    "h": 313.4
  },
  "luminance": 0.18122
}

Semantic roles & 50–950 ramp

primary
#AB47D8
secondary
#B2DBA0
accent
#E84074
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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