#B552AF#B552AF

#B552AF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.6% C 0.171 H 329.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B552AF
RGBrgb(181, 82, 175)
HSLhsl(304, 40%, 52%)
HSVhsv(304, 55%, 71%)
CMYKcmyk(0%, 54.7%, 3.3%, 29%)
CIE-LABlab(50.63, 52.50, -31.43)
CIE-LCHlch(50.63, 61.19, 329.09°)
OKLaboklab(59.63% 0.1482 -0.0861)
OKLCHoklch(59.63% 0.171 329.8)
XYZxyz(29.8109, 18.9554, 42.6377)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552AF #52B558
analogous
#8A52B5 #B552AF #B5527E
triadic
#B552AF #AFB552 #52AFB5
tetradic
#B552AF #B58A52 #52B558 #527EB5
square
#B552AF #B58A52 #52B558 #527EB5
split-complementary
#B552AF #7EB552 #52B58A
monochromatic
#622A5F #8D3C88 #B552AF #C77DC3 #DAA8D7

Accessibility & contrast

On white

4.38
#B552AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B552AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552AF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552AF#FFFFFF#000000##000000
##B552AF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#BB5B79
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b552af;
/* rgb */ color: rgb(181, 82, 175);
/* oklch */ color: oklch(59.6% 0.171 329.8);
Tailwind
colors: {
  custom: {
    50: '#ce87c7',
    500: '#b552af',
    950: '#000000',
  },
}
SCSS
$custom: #b552af;
$custom-light: #ce87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b552af",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 303.636,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5963,
    "c": 0.17137,
    "h": 329.8
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#B552AF
secondary
#9CC79E
accent
#D05F58
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B552AF

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

Preview Lab → · Contrast checker → · Palette generator →

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