#AB4FCE#AB4FCE

#AB4FCE is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.7% C 0.200 H 315.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB4FCE
RGBrgb(171, 79, 206)
HSLhsl(283, 56%, 56%)
HSVhsv(283, 62%, 81%)
CMYKcmyk(17%, 61.7%, 0%, 19.2%)
CIE-LABlab(50.34, 57.21, -49.92)
CIE-LCHlch(50.34, 75.93, 318.89°)
OKLaboklab(59.65% 0.1425 -0.1399)
OKLCHoklch(59.65% 0.2 315.5)
XYZxyz(30.7294, 18.7072, 60.3727)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FCE #72CE4F
analogous
#6C4FCE #AB4FCE #CE4FB1
triadic
#AB4FCE #CEAB4F #4FCEAB
tetradic
#AB4FCE #CE6C4F #72CE4F #4FB1CE
square
#AB4FCE #CE6C4F #72CE4F #4FB1CE
split-complementary
#AB4FCE #B1CE4F #4FCE6C
monochromatic
#66237F #8C31AF #AB4FCE #C27FDB #D9AFE9

Accessibility & contrast

On white

4.43
#AB4FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AB4FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FCE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FCE#FFFFFF#000000##000000
##AB4FCE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#A96687
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4fce;
/* rgb */ color: rgb(171, 79, 206);
/* oklch */ color: oklch(59.7% 0.200 315.5);
Tailwind
colors: {
  custom: {
    50: '#c786dd',
    500: '#ab4fce',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fce;
$custom-light: #c786dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fce",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 283.465,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.19972,
    "h": 315.5
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#AB4FCE
secondary
#B1D7A2
accent
#E04872
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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