#AB54CE#AB54CE

#AB54CE is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.193 H 315.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB54CE
RGBrgb(171, 84, 206)
HSLhsl(283, 55%, 57%)
HSVhsv(283, 59%, 81%)
CMYKcmyk(17%, 59.2%, 0%, 19.2%)
CIE-LABlab(51.22, 54.83, -48.53)
CIE-LCHlch(51.22, 73.22, 318.49°)
OKLaboklab(60.29% 0.1364 -0.1359)
OKLCHoklch(60.29% 0.193 315.1)
XYZxyz(31.1037, 19.4558, 60.4975)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54CE #77CE54
analogous
#6E54CE #AB54CE #CE54B4
triadic
#AB54CE #CEAB54 #54CEAB
tetradic
#AB54CE #CE6E54 #77CE54 #54B4CE
square
#AB54CE #CE6E54 #77CE54 #54B4CE
split-complementary
#AB54CE #B4CE54 #54CE6E
monochromatic
#682582 #8D33B2 #AB54CE #C284DC #DAB3E9

Accessibility & contrast

On white

4.29
#AB54CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AB54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54CE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54CE#FFFFFF#000000##000000
##AB54CE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#A86989
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab54ce;
/* rgb */ color: rgb(171, 84, 206);
/* oklch */ color: oklch(60.3% 0.193 315.1);
Tailwind
colors: {
  custom: {
    50: '#c789dd',
    500: '#ab54ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab54ce;
$custom-light: #c789dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54ce",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 282.787,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.19252,
    "h": 315.1
  },
  "luminance": 0.19455
}

Semantic roles & 50–950 ramp

primary
#AB54CE
secondary
#B4D8A6
accent
#DF4974
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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