#AB55BB#AB55BB

#AB55BB is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.4% C 0.172 H 321.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB55BB
RGBrgb(171, 85, 187)
HSLhsl(291, 43%, 53%)
HSVhsv(291, 55%, 73%)
CMYKcmyk(8.6%, 54.5%, 0%, 26.7%)
CIE-LABlab(50.39, 50.50, -38.90)
CIE-LCHlch(50.39, 63.75, 322.39°)
OKLaboklab(59.35% 0.1339 -0.1079)
OKLCHoklch(59.35% 0.172 321.1)
XYZxyz(29.0117, 18.7441, 49.0939)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55BB #65BB55
analogous
#7855BB #AB55BB #BB5598
triadic
#AB55BB #BBAB55 #55BBAB
tetradic
#AB55BB #BB7855 #65BB55 #5598BB
square
#AB55BB #BB7855 #65BB55 #5598BB
split-complementary
#AB55BB #98BB55 #55BB78
monochromatic
#612B6B #883C97 #AB55BB #C181CC #D6ACDE

Accessibility & contrast

On white

4.42
#AB55BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AB55BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55BB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55BB#FFFFFF#000000##000000
##AB55BB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#AD6380
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab55bb;
/* rgb */ color: rgb(171, 85, 187);
/* oklch */ color: oklch(59.4% 0.172 321.1);
Tailwind
colors: {
  custom: {
    50: '#c689d0',
    500: '#ab55bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab55bb;
$custom-light: #c689d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55bb",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 290.588,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.17199,
    "h": 321.1
  },
  "luminance": 0.18743
}

Semantic roles & 50–950 ramp

primary
#AB55BB
secondary
#A7CCA0
accent
#D35569
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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