#B552AC#B552AC

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

Color values

HEX#B552AC
RGBrgb(181, 82, 172)
HSLhsl(305, 40%, 52%)
HSVhsv(305, 55%, 71%)
CMYKcmyk(0%, 54.7%, 5%, 29%)
CIE-LABlab(50.50, 51.98, -29.89)
CIE-LCHlch(50.50, 59.96, 330.10°)
OKLaboklab(59.48% 0.1477 -0.0817)
OKLCHoklch(59.48% 0.169 331)
XYZxyz(29.5196, 18.8388, 41.1032)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552AC #52B55B
analogous
#8D52B5 #B552AC #B5527B
triadic
#B552AC #ACB552 #52ACB5
tetradic
#B552AC #B58D52 #52B55B #527BB5
square
#B552AC #B58D52 #52B55B #527BB5
split-complementary
#B552AC #7BB552 #52B58D
monochromatic
#622A5D #8D3C86 #B552AC #C77DC1 #DAA8D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B552AC#FFFFFF#000000##000000
##B552AC1.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)
#4D6FAF
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#BC5A77
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b552ac;
/* rgb */ color: rgb(181, 82, 172);
/* oklch */ color: oklch(59.5% 0.169 331.0);
Tailwind
colors: {
  custom: {
    50: '#ce87c5',
    500: '#b552ac',
    950: '#000000',
  },
}
SCSS
$custom: #b552ac;
$custom-light: #ce87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b552ac",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 305.455,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.1688,
    "h": 331
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#B552AC
secondary
#9CC7A0
accent
#D06358
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B552AC

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

Preview Lab → · Contrast checker → · Palette generator →

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