#AB55CA#AB55CA

#AB55CA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.187 H 316.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB55CA
RGBrgb(171, 85, 202)
HSLhsl(284, 52%, 56%)
HSVhsv(284, 58%, 79%)
CMYKcmyk(15.3%, 57.9%, 0%, 20.8%)
CIE-LABlab(51.18, 53.52, -46.30)
CIE-LCHlch(51.18, 70.77, 319.13°)
OKLaboklab(60.19% 0.135 -0.1294)
OKLCHoklch(60.19% 0.187 316.2)
XYZxyz(30.7021, 19.4203, 57.9969)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55CA #74CA55
analogous
#7155CA #AB55CA #CA55AE
triadic
#AB55CA #CAAB55 #55CAAB
tetradic
#AB55CA #CA7155 #74CA55 #55AECA
square
#AB55CA #CA7155 #74CA55 #55AECA
split-complementary
#AB55CA #AECA55 #55CA71
monochromatic
#67277D #8D36AC #AB55CA #C284D9 #D9B2E7

Accessibility & contrast

On white

4.30
#AB55CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AB55CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55CA#FFFFFF#000000##000000
##AB55CA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#A96887
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab55ca;
/* rgb */ color: rgb(171, 85, 202);
/* oklch */ color: oklch(60.2% 0.187 316.2);
Tailwind
colors: {
  custom: {
    50: '#c789db',
    500: '#ab55ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab55ca;
$custom-light: #c789db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55ca",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 284.103,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.18699,
    "h": 316.2
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#AB55CA
secondary
#B2D5A5
accent
#DC4C72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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