#B552B2#B552B2

#B552B2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.8% C 0.174 H 328.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B552B2
RGBrgb(181, 82, 178)
HSLhsl(302, 40%, 52%)
HSVhsv(302, 55%, 71%)
CMYKcmyk(0%, 54.7%, 1.7%, 29%)
CIE-LABlab(50.77, 53.02, -32.97)
CIE-LCHlch(50.77, 62.44, 328.13°)
OKLaboklab(59.78% 0.1486 -0.0905)
OKLCHoklch(59.78% 0.174 328.7)
XYZxyz(30.1089, 19.0745, 44.2067)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552B2 #52B555
analogous
#8752B5 #B552B2 #B55281
triadic
#B552B2 #B2B552 #52B2B5
tetradic
#B552B2 #B58752 #52B555 #5281B5
square
#B552B2 #B58752 #52B555 #5281B5
split-complementary
#B552B2 #81B552 #52B587
monochromatic
#622A61 #8D3C8B #B552B2 #C77DC5 #DAA8D8

Accessibility & contrast

On white

4.36
#B552B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B552B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552B2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552B2#FFFFFF#000000##000000
##B552B21.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#BB5C7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b552b2;
/* rgb */ color: rgb(181, 82, 178);
/* oklch */ color: oklch(59.8% 0.174 328.7);
Tailwind
colors: {
  custom: {
    50: '#ce87c9',
    500: '#b552b2',
    950: '#000000',
  },
}
SCSS
$custom: #b552b2;
$custom-light: #ce87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b552b2",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 301.818,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.17399,
    "h": 328.7
  },
  "luminance": 0.19073
}

Semantic roles & 50–950 ramp

primary
#B552B2
secondary
#9CC79D
accent
#D05B58
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B552B2

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

Preview Lab → · Contrast checker → · Palette generator →

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