#B552B7#B552B7

#B552B7 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.178 H 326.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B552B7
RGBrgb(181, 82, 183)
HSLhsl(299, 41%, 52%)
HSVhsv(299, 55%, 72%)
CMYKcmyk(1.1%, 55.2%, 0%, 28.2%)
CIE-LABlab(51.01, 53.92, -35.50)
CIE-LCHlch(51.01, 64.56, 326.64°)
OKLaboklab(60.03% 0.1492 -0.0978)
OKLCHoklch(60.03% 0.178 326.8)
XYZxyz(30.6200, 19.2790, 46.8990)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552B7 #54B752
analogous
#8352B7 #B552B7 #B75287
triadic
#B552B7 #B7B552 #52B7B5
tetradic
#B552B7 #B78352 #54B752 #5287B7
square
#B552B7 #B78352 #54B752 #5287B7
split-complementary
#B552B7 #87B752 #52B783
monochromatic
#642A65 #8E3C90 #B552B7 #C77DC9 #DAA8DB

Accessibility & contrast

On white

4.33
#B552B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B552B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552B7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552B7#FFFFFF#000000##000000
##B552B71.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771BA
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#BA5E7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b552b7;
/* rgb */ color: rgb(181, 82, 183);
/* oklch */ color: oklch(60.0% 0.178 326.8);
Tailwind
colors: {
  custom: {
    50: '#ce88cd',
    500: '#b552b7',
    950: '#000000',
  },
}
SCSS
$custom: #b552b7;
$custom-light: #ce88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b552b7",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 298.812,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.17842,
    "h": 326.8
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#B552B7
secondary
#9DC99C
accent
#D15759
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C13
muted
#827D82

Preview Lab

Preview with #B552B7

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

Preview Lab → · Contrast checker → · Palette generator →

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