#B552A7#B552A7

#B552A7 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.2% C 0.165 H 333.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B552A7
RGBrgb(181, 82, 167)
HSLhsl(308, 40%, 52%)
HSVhsv(308, 55%, 71%)
CMYKcmyk(0%, 54.7%, 7.7%, 29%)
CIE-LABlab(50.28, 51.12, -27.31)
CIE-LCHlch(50.28, 57.96, 331.89°)
OKLaboklab(59.25% 0.1469 -0.0743)
OKLCHoklch(59.25% 0.165 333.2)
XYZxyz(29.0484, 18.6504, 38.6216)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552A7 #52B560
analogous
#9252B5 #B552A7 #B55276
triadic
#B552A7 #A7B552 #52A7B5
tetradic
#B552A7 #B59252 #52B560 #5276B5
square
#B552A7 #B59252 #52B560 #5276B5
split-complementary
#B552A7 #76B552 #52B592
monochromatic
#622A5B #8D3C82 #B552A7 #C77DBD #DAA8D3

Accessibility & contrast

On white

4.44
#B552A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B552A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552A7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552A7#FFFFFF#000000##000000
##B552A71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAA
Deuteranopia (green-blind)
#6D7DA4
Tritanopia (blue-blind)
#BC5975
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b552a7;
/* rgb */ color: rgb(181, 82, 167);
/* oklch */ color: oklch(59.2% 0.165 333.2);
Tailwind
colors: {
  custom: {
    50: '#ce87c1',
    500: '#b552a7',
    950: '#000000',
  },
}
SCSS
$custom: #b552a7;
$custom-light: #ce87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b552a7",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 308.485,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.1646,
    "h": 333.2
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#B552A7
secondary
#9CC7A2
accent
#D06958
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B552A7

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

Preview Lab → · Contrast checker → · Palette generator →

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