#AB54C0#AB54C0

#AB54C0 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.178 H 319.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB54C0
RGBrgb(171, 84, 192)
HSLhsl(288, 46%, 54%)
HSVhsv(288, 56%, 75%)
CMYKcmyk(10.9%, 56.3%, 0%, 24.7%)
CIE-LABlab(50.46, 51.99, -41.68)
CIE-LCHlch(50.46, 66.63, 321.28°)
OKLaboklab(59.49% 0.1357 -0.1159)
OKLCHoklch(59.49% 0.178 319.5)
XYZxyz(29.4781, 18.8056, 51.9360)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54C0 #69C054
analogous
#7554C0 #AB54C0 #C0549F
triadic
#AB54C0 #C0AB54 #54C0AB
tetradic
#AB54C0 #C07554 #69C054 #549FC0
square
#AB54C0 #C07554 #69C054 #549FC0
split-complementary
#AB54C0 #9FC054 #54C075
monochromatic
#622970 #8A3A9D #AB54C0 #C181D0 #D7ADE1

Accessibility & contrast

On white

4.41
#AB54C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AB54C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54C0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54C0#FFFFFF#000000##000000
##AB54C01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab54c0;
/* rgb */ color: rgb(171, 84, 192);
/* oklch */ color: oklch(59.5% 0.178 319.5);
Tailwind
colors: {
  custom: {
    50: '#c688d3',
    500: '#ab54c0',
    950: '#000000',
  },
}
SCSS
$custom: #ab54c0;
$custom-light: #c688d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54c0",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 288.333,
    "s": 46.154,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.17848,
    "h": 319.5
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#AB54C0
secondary
#AACFA1
accent
#D6526C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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