#AB55C2#AB55C2

#AB55C2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.7% C 0.179 H 318.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AB55C2
RGBrgb(171, 85, 194)
HSLhsl(287, 47%, 55%)
HSVhsv(287, 56%, 76%)
CMYKcmyk(11.9%, 56.2%, 0%, 23.9%)
CIE-LABlab(50.75, 51.89, -42.38)
CIE-LCHlch(50.75, 67.00, 320.76°)
OKLaboklab(59.73% 0.1345 -0.118)
OKLCHoklch(59.73% 0.179 318.7)
XYZxyz(29.7794, 19.0512, 53.1371)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55C2 #6CC255
analogous
#7455C2 #AB55C2 #C255A3
triadic
#AB55C2 #C2AB55 #55C2AB
tetradic
#AB55C2 #C27455 #6CC255 #55A3C2
square
#AB55C2 #C27455 #6CC255 #55A3C2
split-complementary
#AB55C2 #A3C255 #55C274
monochromatic
#642973 #8B3AA0 #AB55C2 #C182D2 #D8AFE2

Accessibility & contrast

On white

4.37
#AB55C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AB55C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55C2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55C2#FFFFFF#000000##000000
##AB55C21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C6
Deuteranopia (green-blind)
#5B7CBF
Tritanopia (blue-blind)
#AB6683
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab55c2;
/* rgb */ color: rgb(171, 85, 194);
/* oklch */ color: oklch(59.7% 0.179 318.7);
Tailwind
colors: {
  custom: {
    50: '#c689d5',
    500: '#ab55c2',
    950: '#000000',
  },
}
SCSS
$custom: #ab55c2;
$custom-light: #c689d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55c2",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 287.339,
    "s": 47.186,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.17893,
    "h": 318.7
  },
  "luminance": 0.1905
}

Semantic roles & 50–950 ramp

primary
#AB55C2
secondary
#ACD0A2
accent
#D7516D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB55C2

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

Preview Lab → · Contrast checker → · Palette generator →

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