#AB47D3#AB47D3

#AB47D3 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.215 H 314.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB47D3
RGBrgb(171, 71, 211)
HSLhsl(283, 61%, 55%)
HSVhsv(283, 66%, 83%)
CMYKcmyk(19%, 66.4%, 0%, 17.3%)
CIE-LABlab(49.34, 61.82, -54.40)
CIE-LCHlch(49.34, 82.35, 318.66°)
OKLaboklab(59.02% 0.1516 -0.153)
OKLCHoklch(59.02% 0.215 314.7)
XYZxyz(30.8038, 17.8686, 63.4417)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47D3 #6FD347
analogous
#6547D3 #AB47D3 #D347B5
triadic
#AB47D3 #D3AB47 #47D3AB
tetradic
#AB47D3 #D36547 #6FD347 #47B5D3
square
#AB47D3 #D36547 #6FD347 #47B5D3
split-complementary
#AB47D3 #B5D347 #47D365
monochromatic
#651F81 #8B2BB2 #AB47D3 #C278DF #D8AAEB

Accessibility & contrast

On white

4.59
#AB47D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB47D3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47D3#FFFFFF#000000##FFFFFF
##AB47D31.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#A86287
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab47d3;
/* rgb */ color: rgb(171, 71, 211);
/* oklch */ color: oklch(59.0% 0.215 314.7);
Tailwind
colors: {
  custom: {
    50: '#c881e1',
    500: '#ab47d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab47d3;
$custom-light: #c881e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47d3",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 282.857,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5902,
    "c": 0.21536,
    "h": 314.7
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#AB47D3
secondary
#AED89E
accent
#E54371
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB47D3

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

Preview Lab → · Contrast checker → · Palette generator →

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