#AB47DE#AB47DE

#AB47DE is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.226 H 311.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB47DE
RGBrgb(171, 71, 222)
HSLhsl(280, 70%, 57%)
HSVhsv(280, 68%, 87%)
CMYKcmyk(23%, 68%, 0%, 12.9%)
CIE-LABlab(50.02, 64.08, -59.56)
CIE-LCHlch(50.02, 87.48, 317.09°)
OKLaboklab(59.73% 0.1508 -0.1681)
OKLCHoklch(59.73% 0.226 311.9)
XYZxyz(32.2302, 18.4392, 70.9544)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47DE #7ADE47
analogous
#6047DE #AB47DE #DE47C6
triadic
#AB47DE #DEAB47 #47DEAB
tetradic
#AB47DE #DE6047 #7ADE47 #47C6DE
square
#AB47DE #DE6047 #7ADE47 #47C6DE
split-complementary
#AB47DE #C6DE47 #47DE60
monochromatic
#691A91 #8E23C5 #AB47DE #C37BE7 #DAAFF1

Accessibility & contrast

On white

4.48
#AB47DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AB47DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB47DE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47DE#FFFFFF#000000##000000
##AB47DE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#3679DB
Tritanopia (blue-blind)
#A5678D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab47de;
/* rgb */ color: rgb(171, 71, 222);
/* oklch */ color: oklch(59.7% 0.226 311.9);
Tailwind
colors: {
  custom: {
    50: '#c882e9',
    500: '#ab47de',
    950: '#000000',
  },
}
SCSS
$custom: #ab47de;
$custom-light: #c882e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47de",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 279.735,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.22582,
    "h": 311.9
  },
  "luminance": 0.18438
}

Semantic roles & 50–950 ramp

primary
#AB47DE
secondary
#B7DFA2
accent
#EC3B77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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