#AB54BF#AB54BF

#AB54BF is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.177 H 319.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB54BF
RGBrgb(171, 84, 191)
HSLhsl(289, 46%, 54%)
HSVhsv(289, 56%, 75%)
CMYKcmyk(10.5%, 56%, 0%, 25.1%)
CIE-LABlab(50.41, 51.79, -41.19)
CIE-LCHlch(50.41, 66.17, 321.50°)
OKLaboklab(59.43% 0.1356 -0.1145)
OKLCHoklch(59.43% 0.177 319.8)
XYZxyz(29.3677, 18.7614, 51.3545)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54BF #68BF54
analogous
#7654BF #AB54BF #BF549E
triadic
#AB54BF #BFAB54 #54BFAB
tetradic
#AB54BF #BF7654 #68BF54 #549EBF
square
#AB54BF #BF7654 #68BF54 #549EBF
split-complementary
#AB54BF #9EBF54 #54BF76
monochromatic
#622A6F #893A9C #AB54BF #C181D0 #D7ADE0

Accessibility & contrast

On white

4.42
#AB54BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AB54BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54BF#FFFFFF#000000##000000
##AB54BF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#AC6482
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab54bf;
/* rgb */ color: rgb(171, 84, 191);
/* oklch */ color: oklch(59.4% 0.177 319.8);
Tailwind
colors: {
  custom: {
    50: '#c688d3',
    500: '#ab54bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab54bf;
$custom-light: #c688d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54bf",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 288.785,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.17749,
    "h": 319.8
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

primary
#AB54BF
secondary
#A9CEA1
accent
#D5536B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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