#B552AB#B552AB

#B552AB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.168 H 331.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B552AB
RGBrgb(181, 82, 171)
HSLhsl(306, 40%, 52%)
HSVhsv(306, 55%, 71%)
CMYKcmyk(0%, 54.7%, 5.5%, 29%)
CIE-LABlab(50.45, 51.80, -29.38)
CIE-LCHlch(50.45, 59.55, 330.44°)
OKLaboklab(59.44% 0.1475 -0.0802)
OKLCHoklch(59.44% 0.168 331.5)
XYZxyz(29.4239, 18.8006, 40.5993)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552AB #52B55C
analogous
#8E52B5 #B552AB #B5527A
triadic
#B552AB #ABB552 #52ABB5
tetradic
#B552AB #B58E52 #52B55C #527AB5
square
#B552AB #B58E52 #52B55C #527AB5
split-complementary
#B552AB #7AB552 #52B58E
monochromatic
#622A5D #8D3C85 #B552AB #C77DC0 #DAA8D5

Accessibility & contrast

On white

4.41
#B552AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B552AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552AB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552AB#FFFFFF#000000##000000
##B552AB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#BC5A77
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b552ab;
/* rgb */ color: rgb(181, 82, 171);
/* oklch */ color: oklch(59.4% 0.168 331.5);
Tailwind
colors: {
  custom: {
    50: '#ce87c4',
    500: '#b552ab',
    950: '#000000',
  },
}
SCSS
$custom: #b552ab;
$custom-light: #ce87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b552ab",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 306.061,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.16795,
    "h": 331.5
  },
  "luminance": 0.18799
}

Semantic roles & 50–950 ramp

primary
#B552AB
secondary
#9CC7A0
accent
#D06458
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B552AB

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

Preview Lab → · Contrast checker → · Palette generator →

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