#AB55BE#AB55BE

#AB55BE is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.5% C 0.175 H 320.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB55BE
RGBrgb(171, 85, 190)
HSLhsl(289, 45%, 54%)
HSVhsv(289, 55%, 75%)
CMYKcmyk(10%, 55.3%, 0%, 25.5%)
CIE-LABlab(50.54, 51.10, -40.40)
CIE-LCHlch(50.54, 65.14, 321.67°)
OKLaboklab(59.51% 0.1342 -0.1122)
OKLCHoklch(59.51% 0.175 320.1)
XYZxyz(29.3362, 18.8739, 50.8030)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55BE #68BE55
analogous
#7755BE #AB55BE #BE559D
triadic
#AB55BE #BEAB55 #55BEAB
tetradic
#AB55BE #BE7755 #68BE55 #559DBE
square
#AB55BE #BE7755 #68BE55 #559DBE
split-complementary
#AB55BE #9DBE55 #55BE77
monochromatic
#622A6E #893B9B #AB55BE #C181CF #D7AEE0

Accessibility & contrast

On white

4.40
#AB55BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AB55BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55BE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55BE#FFFFFF#000000##000000
##AB55BE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172C1
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#AC6481
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab55be;
/* rgb */ color: rgb(171, 85, 190);
/* oklch */ color: oklch(59.5% 0.175 320.1);
Tailwind
colors: {
  custom: {
    50: '#c689d2',
    500: '#ab55be',
    950: '#000000',
  },
}
SCSS
$custom: #ab55be;
$custom-light: #c689d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55be",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 289.143,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.17494,
    "h": 320.1
  },
  "luminance": 0.18873
}

Semantic roles & 50–950 ramp

primary
#AB55BE
secondary
#A9CEA1
accent
#D4536B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB55BE

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

Preview Lab → · Contrast checker → · Palette generator →

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