#B552AA#B552AA

#B552AA is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.167 H 331.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B552AA
RGBrgb(181, 82, 170)
HSLhsl(307, 40%, 52%)
HSVhsv(307, 55%, 71%)
CMYKcmyk(0%, 54.7%, 6.1%, 29%)
CIE-LABlab(50.41, 51.63, -28.86)
CIE-LCHlch(50.41, 59.15, 330.80°)
OKLaboklab(59.39% 0.1474 -0.0788)
OKLCHoklch(59.39% 0.167 331.9)
XYZxyz(29.3289, 18.7626, 40.0992)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552AA #52B55D
analogous
#8F52B5 #B552AA #B55279
triadic
#B552AA #AAB552 #52AAB5
tetradic
#B552AA #B58F52 #52B55D #5279B5
square
#B552AA #B58F52 #52B55D #5279B5
split-complementary
#B552AA #79B552 #52B58F
monochromatic
#622A5C #8D3C84 #B552AA #C77DBF #DAA8D4

Accessibility & contrast

On white

4.42
#B552AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B552AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552AA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552AA#FFFFFF#000000##000000
##B552AA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#BC5A76
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b552aa;
/* rgb */ color: rgb(181, 82, 170);
/* oklch */ color: oklch(59.4% 0.167 331.9);
Tailwind
colors: {
  custom: {
    50: '#ce87c3',
    500: '#b552aa',
    950: '#000000',
  },
}
SCSS
$custom: #b552aa;
$custom-light: #ce87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b552aa",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 306.667,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.16711,
    "h": 331.9
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#B552AA
secondary
#9CC7A0
accent
#D06558
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B552AA

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

Preview Lab → · Contrast checker → · Palette generator →

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