#AB55CB#AB55CB

#AB55CB is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.188 H 315.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB55CB
RGBrgb(171, 85, 203)
HSLhsl(284, 53%, 56%)
HSVhsv(284, 58%, 80%)
CMYKcmyk(15.8%, 58.1%, 0%, 20.4%)
CIE-LABlab(51.23, 53.72, -46.79)
CIE-LCHlch(51.23, 71.24, 318.95°)
OKLaboklab(60.24% 0.135 -0.1308)
OKLCHoklch(60.24% 0.188 315.9)
XYZxyz(30.8209, 19.4678, 58.6224)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55CB #75CB55
analogous
#7055CB #AB55CB #CB55B0
triadic
#AB55CB #CBAB55 #55CBAB
tetradic
#AB55CB #CB7055 #75CB55 #55B0CB
square
#AB55CB #CB7055 #75CB55 #55B0CB
split-complementary
#AB55CB #B0CB55 #55CB70
monochromatic
#67277F #8D35AE #AB55CB #C284D9 #D9B3E8

Accessibility & contrast

On white

4.29
#AB55CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AB55CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55CB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55CB#FFFFFF#000000##000000
##AB55CB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#557DC8
Tritanopia (blue-blind)
#A96988
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab55cb;
/* rgb */ color: rgb(171, 85, 203);
/* oklch */ color: oklch(60.2% 0.188 315.9);
Tailwind
colors: {
  custom: {
    50: '#c789db',
    500: '#ab55cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab55cb;
$custom-light: #c789db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55cb",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 283.729,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.188,
    "h": 315.9
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#AB55CB
secondary
#B3D6A6
accent
#DD4B73
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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