#B552D1#B552D1

#B552D1 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.4% C 0.203 H 318.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B552D1
RGBrgb(181, 82, 209)
HSLhsl(287, 58%, 57%)
HSVhsv(287, 61%, 82%)
CMYKcmyk(13.4%, 60.8%, 0%, 18%)
CIE-LABlab(52.36, 58.83, -48.35)
CIE-LCHlch(52.36, 76.15, 320.58°)
OKLaboklab(61.45% 0.151 -0.1351)
OKLCHoklch(61.45% 0.203 318.2)
XYZxyz(33.5804, 20.4632, 62.4902)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552D1 #6ED152
analogous
#7652D1 #B552D1 #D152AD
triadic
#B552D1 #D1B552 #52D1B5
tetradic
#B552D1 #D17652 #6ED152 #52ADD1
square
#B552D1 #D17652 #6ED152 #52ADD1
split-complementary
#B552D1 #ADD152 #52D176
monochromatic
#702385 #9830B6 #B552D1 #CA82DE #DEB3EB

Accessibility & contrast

On white

4.12
#B552D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B552D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552D1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552D1#FFFFFF#000000##000000
##B552D11.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D5
Deuteranopia (green-blind)
#5880CE
Tritanopia (blue-blind)
#B5678A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b552d1;
/* rgb */ color: rgb(181, 82, 209);
/* oklch */ color: oklch(61.4% 0.203 318.2);
Tailwind
colors: {
  custom: {
    50: '#ce88e0',
    500: '#b552d1',
    950: '#000000',
  },
}
SCSS
$custom: #b552d1;
$custom-light: #ce88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b552d1",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 286.772,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.20259,
    "h": 318.2
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#B552D1
secondary
#B1D9A6
accent
#E14769
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B552D1

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

Preview Lab → · Contrast checker → · Palette generator →

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