#B552B5#B552B5

#B552B5 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.9% C 0.177 H 327.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B552B5
RGBrgb(181, 82, 181)
HSLhsl(300, 40%, 52%)
HSVhsv(300, 55%, 71%)
CMYKcmyk(0%, 54.7%, 0%, 29%)
CIE-LABlab(50.92, 53.56, -34.49)
CIE-LCHlch(50.92, 63.70, 327.22°)
OKLaboklab(59.93% 0.149 -0.0949)
OKLCHoklch(59.93% 0.177 327.5)
XYZxyz(30.4134, 19.1963, 45.8104)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552B5 #52B552
analogous
#8452B5 #B552B5 #B55284
triadic
#B552B5 #B5B552 #52B5B5
tetradic
#B552B5 #B58452 #52B552 #5284B5
square
#B552B5 #B58452 #52B552 #5284B5
split-complementary
#B552B5 #84B552 #52B584
monochromatic
#622A62 #8D3C8D #B552B5 #C77DC7 #DAA8DA

Accessibility & contrast

On white

4.34
#B552B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B552B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552B5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552B5#FFFFFF#000000##000000
##B552B51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#677EB2
Tritanopia (blue-blind)
#BA5D7C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b552b5;
/* rgb */ color: rgb(181, 82, 181);
/* oklch */ color: oklch(59.9% 0.177 327.5);
Tailwind
colors: {
  custom: {
    50: '#ce88cb',
    500: '#b552b5',
    950: '#000000',
  },
}
SCSS
$custom: #b552b5;
$custom-light: #ce88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b552b5",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 300,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.17664,
    "h": 327.5
  },
  "luminance": 0.19195
}

Semantic roles & 50–950 ramp

primary
#B552B5
secondary
#9CC79C
accent
#D05858
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B552B5

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

Preview Lab → · Contrast checker → · Palette generator →

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