#B552A9#B552A9

#B552A9 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.3% C 0.166 H 332.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B552A9
RGBrgb(181, 82, 169)
HSLhsl(307, 40%, 52%)
HSVhsv(307, 55%, 71%)
CMYKcmyk(0%, 54.7%, 6.6%, 29%)
CIE-LABlab(50.36, 51.46, -28.34)
CIE-LCHlch(50.36, 58.75, 331.16°)
OKLaboklab(59.34% 0.1472 -0.0773)
OKLCHoklch(59.34% 0.166 332.3)
XYZxyz(29.2347, 18.7249, 39.6029)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552A9 #52B55E
analogous
#9052B5 #B552A9 #B55278
triadic
#B552A9 #A9B552 #52A9B5
tetradic
#B552A9 #B59052 #52B55E #5278B5
square
#B552A9 #B59052 #52B55E #5278B5
split-complementary
#B552A9 #78B552 #52B590
monochromatic
#622A5C #8D3C84 #B552A9 #C77DBE #DAA8D4

Accessibility & contrast

On white

4.43
#B552A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B552A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552A9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552A9#FFFFFF#000000##000000
##B552A91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAC
Deuteranopia (green-blind)
#6D7DA6
Tritanopia (blue-blind)
#BC5976
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b552a9;
/* rgb */ color: rgb(181, 82, 169);
/* oklch */ color: oklch(59.3% 0.166 332.3);
Tailwind
colors: {
  custom: {
    50: '#ce87c3',
    500: '#b552a9',
    950: '#000000',
  },
}
SCSS
$custom: #b552a9;
$custom-light: #ce87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b552a9",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 307.273,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59341,
    "c": 0.16627,
    "h": 332.3
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#B552A9
secondary
#9CC7A1
accent
#D06658
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B552A9

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

Preview Lab → · Contrast checker → · Palette generator →

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