#AB47BE#AB47BE

#AB47BE is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.196 H 320.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB47BE
RGBrgb(171, 71, 190)
HSLhsl(290, 48%, 51%)
HSVhsv(290, 63%, 75%)
CMYKcmyk(10%, 62.6%, 0%, 25.5%)
CIE-LABlab(48.11, 57.69, -44.24)
CIE-LCHlch(48.11, 72.70, 322.51°)
OKLaboklab(57.74% 0.152 -0.1233)
OKLCHoklch(57.74% 0.196 320.9)
XYZxyz(28.3410, 16.8835, 50.4712)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47BE #5ABE47
analogous
#6F47BE #AB47BE #BE4795
triadic
#AB47BE #BEAB47 #47BEAB
tetradic
#AB47BE #BE6F47 #5ABE47 #4795BE
square
#AB47BE #BE6F47 #5ABE47 #4795BE
split-complementary
#AB47BE #95BE47 #47BE6F
monochromatic
#5C2466 #843494 #AB47BE #C074CE #D4A1DE

Accessibility & contrast

On white

4.80
#AB47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AB47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB47BE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47BE#FFFFFF#000000##FFFFFF
##AB47BE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC2
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#AC5A7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab47be;
/* rgb */ color: rgb(171, 71, 190);
/* oklch */ color: oklch(57.7% 0.196 320.9);
Tailwind
colors: {
  custom: {
    50: '#c781d2',
    500: '#ab47be',
    950: '#000000',
  },
}
SCSS
$custom: #ab47be;
$custom-light: #c781d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47be",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 290.42,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.1957,
    "h": 320.9
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#AB47BE
secondary
#9FCB96
accent
#D75066
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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