#AB47CA#AB47CA

#AB47CA is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.207 H 317.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB47CA
RGBrgb(171, 71, 202)
HSLhsl(286, 55%, 54%)
HSVhsv(286, 65%, 79%)
CMYKcmyk(15.3%, 64.9%, 0%, 20.8%)
CIE-LABlab(48.80, 60.02, -50.09)
CIE-LCHlch(48.80, 78.18, 320.15°)
OKLaboklab(58.46% 0.1519 -0.1404)
OKLCHoklch(58.46% 0.207 317.3)
XYZxyz(29.7069, 17.4299, 57.6651)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47CA #66CA47
analogous
#6947CA #AB47CA #CA47A7
triadic
#AB47CA #CAAB47 #47CAAB
tetradic
#AB47CA #CA6947 #66CA47 #47A7CA
square
#AB47CA #CA6947 #66CA47 #47A7CA
split-complementary
#AB47CA #A7CA47 #47CA69
monochromatic
#612275 #892FA4 #AB47CA #C177D8 #D6A6E5

Accessibility & contrast

On white

4.68
#AB47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB47CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47CA#FFFFFF#000000##FFFFFF
##AB47CA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156ECE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#AA5F82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab47ca;
/* rgb */ color: rgb(171, 71, 202);
/* oklch */ color: oklch(58.5% 0.207 317.3);
Tailwind
colors: {
  custom: {
    50: '#c781db',
    500: '#ab47ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab47ca;
$custom-light: #c781db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47ca",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 285.802,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.20686,
    "h": 317.3
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#AB47CA
secondary
#A8D29A
accent
#DF496D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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