#AB55C7#AB55C7

#AB55C7 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.184 H 317.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB55C7
RGBrgb(171, 85, 199)
HSLhsl(285, 50%, 56%)
HSVhsv(285, 57%, 78%)
CMYKcmyk(14.1%, 57.3%, 0%, 22%)
CIE-LABlab(51.01, 52.90, -44.84)
CIE-LCHlch(51.01, 69.35, 319.72°)
OKLaboklab(60.01% 0.1348 -0.1251)
OKLCHoklch(60.01% 0.184 317.1)
XYZxyz(30.3504, 19.2796, 56.1443)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55C7 #71C755
analogous
#7255C7 #AB55C7 #C755AA
triadic
#AB55C7 #C7AB55 #55C7AB
tetradic
#AB55C7 #C77255 #71C755 #55AAC7
square
#AB55C7 #C77255 #71C755 #55AAC7
split-complementary
#AB55C7 #AAC755 #55C772
monochromatic
#66287A #8C37A8 #AB55C7 #C283D6 #D8B1E5

Accessibility & contrast

On white

4.32
#AB55C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AB55C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55C7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55C7#FFFFFF#000000##000000
##AB55C71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#AA6786
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab55c7;
/* rgb */ color: rgb(171, 85, 199);
/* oklch */ color: oklch(60.0% 0.184 317.1);
Tailwind
colors: {
  custom: {
    50: '#c789d8',
    500: '#ab55c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab55c7;
$custom-light: #c789d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55c7",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 285.263,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.18395,
    "h": 317.1
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#AB55C7
secondary
#B0D4A4
accent
#DA4E70
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB55C7

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

Preview Lab → · Contrast checker → · Palette generator →

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