#AB47CF#AB47CF

#AB47CF is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.212 H 315.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB47CF
RGBrgb(171, 71, 207)
HSLhsl(284, 59%, 55%)
HSVhsv(284, 66%, 81%)
CMYKcmyk(17.4%, 65.7%, 0%, 18.8%)
CIE-LABlab(49.09, 61.02, -52.49)
CIE-LCHlch(49.09, 80.49, 319.29°)
OKLaboklab(58.77% 0.1518 -0.1474)
OKLCHoklch(58.77% 0.212 315.8)
XYZxyz(30.3086, 17.6705, 60.8336)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47CF #6BCF47
analogous
#6747CF #AB47CF #CF47AF
triadic
#AB47CF #CFAB47 #47CFAB
tetradic
#AB47CF #CF6747 #6BCF47 #47AFCF
square
#AB47CF #CF6747 #6BCF47 #47AFCF
split-complementary
#AB47CF #AFCF47 #47CF67
monochromatic
#63207B #8A2DAC #AB47CF #C178DC #D7A8E8

Accessibility & contrast

On white

4.63
#AB47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AB47CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB47CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47CF#FFFFFF#000000##FFFFFF
##AB47CF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026FD3
Deuteranopia (green-blind)
#4677CC
Tritanopia (blue-blind)
#A96185
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab47cf;
/* rgb */ color: rgb(171, 71, 207);
/* oklch */ color: oklch(58.8% 0.212 315.8);
Tailwind
colors: {
  custom: {
    50: '#c881de',
    500: '#ab47cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab47cf;
$custom-light: #c881de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47cf",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 284.118,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.21157,
    "h": 315.8
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#AB47CF
secondary
#ABD69C
accent
#E2466F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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