#AB47D4#AB47D4

#AB47D4 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.216 H 314.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AB47D4
RGBrgb(171, 71, 212)
HSLhsl(283, 62%, 55%)
HSVhsv(283, 67%, 83%)
CMYKcmyk(19.3%, 66.5%, 0%, 16.9%)
CIE-LABlab(49.40, 62.03, -54.87)
CIE-LCHlch(49.40, 82.81, 318.50°)
OKLaboklab(59.08% 0.1515 -0.1544)
OKLCHoklch(59.08% 0.216 314.5)
XYZxyz(30.9295, 17.9189, 64.1040)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47D4 #70D447
analogous
#6447D4 #AB47D4 #D447B7
triadic
#AB47D4 #D4AB47 #47D4AB
tetradic
#AB47D4 #D46447 #70D447 #47B7D4
square
#AB47D4 #D46447 #70D447 #47B7D4
split-complementary
#AB47D4 #B7D447 #47D464
monochromatic
#651E82 #8C2AB4 #AB47D4 #C279E0 #D8AAEB

Accessibility & contrast

On white

4.58
#AB47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AB47D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB47D4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47D4#FFFFFF#000000##000000
##AB47D41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#4278D1
Tritanopia (blue-blind)
#A76388
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab47d4;
/* rgb */ color: rgb(171, 71, 212);
/* oklch */ color: oklch(59.1% 0.216 314.5);
Tailwind
colors: {
  custom: {
    50: '#c881e2',
    500: '#ab47d4',
    950: '#000000',
  },
}
SCSS
$custom: #ab47d4;
$custom-light: #c881e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47d4",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 282.553,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.21631,
    "h": 314.5
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

primary
#AB47D4
secondary
#AFD99E
accent
#E54372
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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