#AB47C8#AB47C8

#AB47C8 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.3% C 0.205 H 317.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB47C8
RGBrgb(171, 71, 200)
HSLhsl(287, 54%, 53%)
HSVhsv(287, 65%, 78%)
CMYKcmyk(14.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(48.68, 59.63, -49.13)
CIE-LCHlch(48.68, 77.26, 320.51°)
OKLaboklab(58.34% 0.152 -0.1376)
OKLCHoklch(58.34% 0.205 317.8)
XYZxyz(29.4717, 17.3358, 56.4261)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47C8 #64C847
analogous
#6A47C8 #AB47C8 #C847A4
triadic
#AB47C8 #C8AB47 #47C8AB
tetradic
#AB47C8 #C86A47 #64C847 #47A4C8
square
#AB47C8 #C86A47 #64C847 #47A4C8
split-complementary
#AB47C8 #A4C847 #47C86A
monochromatic
#602272 #8830A2 #AB47C8 #C176D6 #D6A5E4

Accessibility & contrast

On white

4.70
#AB47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AB47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB47C8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47C8#FFFFFF#000000##FFFFFF
##AB47C81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196DCC
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#AA5E81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab47c8;
/* rgb */ color: rgb(171, 71, 200);
/* oklch */ color: oklch(58.3% 0.205 317.8);
Tailwind
colors: {
  custom: {
    50: '#c781d9',
    500: '#ab47c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab47c8;
$custom-light: #c781d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47c8",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 286.512,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.20499,
    "h": 317.8
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

primary
#AB47C8
secondary
#A6D19A
accent
#DD4A6B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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