#AB54D0#AB54D0

#AB54D0 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.195 H 314.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB54D0
RGBrgb(171, 84, 208)
HSLhsl(282, 57%, 57%)
HSVhsv(282, 60%, 82%)
CMYKcmyk(17.8%, 59.6%, 0%, 18.4%)
CIE-LABlab(51.33, 55.25, -49.49)
CIE-LCHlch(51.33, 74.18, 318.14°)
OKLaboklab(60.4% 0.1364 -0.1387)
OKLCHoklch(60.4% 0.195 314.5)
XYZxyz(31.3482, 19.5536, 61.7852)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54D0 #79D054
analogous
#6D54D0 #AB54D0 #D054B7
triadic
#AB54D0 #D0AB54 #54D0AB
tetradic
#AB54D0 #D06D54 #79D054 #54B7D0
square
#AB54D0 #D06D54 #79D054 #54B7D0
split-complementary
#AB54D0 #B7D054 #54D06D
monochromatic
#682585 #8E32B5 #AB54D0 #C384DD #DAB4EA

Accessibility & contrast

On white

4.28
#AB54D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AB54D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54D0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54D0#FFFFFF#000000##000000
##AB54D01.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D4
Deuteranopia (green-blind)
#517DCD
Tritanopia (blue-blind)
#A86A8A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab54d0;
/* rgb */ color: rgb(171, 84, 208);
/* oklch */ color: oklch(60.4% 0.195 314.5);
Tailwind
colors: {
  custom: {
    50: '#c789df',
    500: '#ab54d0',
    950: '#000000',
  },
}
SCSS
$custom: #ab54d0;
$custom-light: #c789df;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54d0",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 208
  },
  "hsl": {
    "h": 282.097,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60404,
    "c": 0.19455,
    "h": 314.5
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#AB54D0
secondary
#B6D9A7
accent
#E04875
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB54D0

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

Preview Lab → · Contrast checker → · Palette generator →

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