#AB47F4#AB47F4

#AB47F4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.2% C 0.247 H 306.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB47F4
RGBrgb(171, 71, 244)
HSLhsl(275, 89%, 62%)
HSVhsv(275, 71%, 96%)
CMYKcmyk(29.9%, 70.9%, 0%, 4.3%)
CIE-LABlab(51.49, 68.74, -69.58)
CIE-LCHlch(51.49, 97.81, 314.65°)
OKLaboklab(61.24% 0.148 -0.1976)
OKLCHoklch(61.24% 0.247 306.8)
XYZxyz(35.3735, 19.6965, 87.5087)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47F4 #90F447
analogous
#5547F4 #AB47F4 #F447E7
triadic
#AB47F4 #F4AB47 #47F4AB
tetradic
#AB47F4 #F45547 #90F447 #47E7F4
square
#AB47F4 #F45547 #90F447 #47E7F4
split-complementary
#AB47F4 #E7F447 #47F455
monochromatic
#6E0BB6 #900EEF #AB47F4 #C581F7 #E0BAFB

Accessibility & contrast

On white

4.25
#AB47F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AB47F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB47F4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47F4#FFFFFF#000000##000000
##AB47F41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F9
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#9F6F99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab47f4;
/* rgb */ color: rgb(171, 71, 244);
/* oklch */ color: oklch(61.2% 0.247 306.8);
Tailwind
colors: {
  custom: {
    50: '#c982f9',
    500: '#ab47f4',
    950: '#000000',
  },
}
SCSS
$custom: #ab47f4;
$custom-light: #c982f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47f4",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 244
  },
  "hsl": {
    "h": 274.682,
    "s": 88.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.24686,
    "h": 306.8
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#AB47F4
secondary
#C6EBAB
accent
#E50061
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB47F4

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

Preview Lab → · Contrast checker → · Palette generator →

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