#AB47D9#AB47D9

#AB47D9 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.221 H 313.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB47D9
RGBrgb(171, 71, 217)
HSLhsl(281, 66%, 56%)
HSVhsv(281, 67%, 85%)
CMYKcmyk(21.2%, 67.3%, 0%, 14.9%)
CIE-LABlab(49.71, 63.05, -57.23)
CIE-LCHlch(49.71, 85.15, 317.77°)
OKLaboklab(59.4% 0.1512 -0.1613)
OKLCHoklch(59.4% 0.221 313.1)
XYZxyz(31.5700, 18.1751, 67.4773)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47D9 #75D947
analogous
#6247D9 #AB47D9 #D947BE
triadic
#AB47D9 #D9AB47 #47D9AB
tetradic
#AB47D9 #D96247 #75D947 #47BED9
square
#AB47D9 #D96247 #75D947 #47BED9
split-complementary
#AB47D9 #BED947 #47D962
monochromatic
#671C89 #8D27BC #AB47D9 #C27AE3 #D9ACEE

Accessibility & contrast

On white

4.53
#AB47D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AB47D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB47D9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47D9#FFFFFF#000000##000000
##AB47D91.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#3C78D6
Tritanopia (blue-blind)
#A6658B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab47d9;
/* rgb */ color: rgb(171, 71, 217);
/* oklch */ color: oklch(59.4% 0.221 313.1);
Tailwind
colors: {
  custom: {
    50: '#c881e5',
    500: '#ab47d9',
    950: '#000000',
  },
}
SCSS
$custom: #ab47d9;
$custom-light: #c881e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47d9",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 281.096,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.22105,
    "h": 313.1
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

primary
#AB47D9
secondary
#B3DCA0
accent
#E93F75
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB47D9

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

Preview Lab → · Contrast checker → · Palette generator →

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