#B552B8#B552B8

#B552B8 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.1% C 0.179 H 326.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B552B8
RGBrgb(181, 82, 184)
HSLhsl(298, 42%, 52%)
HSVhsv(298, 55%, 72%)
CMYKcmyk(1.6%, 55.4%, 0%, 27.8%)
CIE-LABlab(51.06, 54.10, -36.01)
CIE-LCHlch(51.06, 64.99, 326.35°)
OKLaboklab(60.08% 0.1493 -0.0993)
OKLCHoklch(60.08% 0.179 326.4)
XYZxyz(30.7245, 19.3208, 47.4491)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552B8 #55B852
analogous
#8252B8 #B552B8 #B85288
triadic
#B552B8 #B8B552 #52B8B5
tetradic
#B552B8 #B88252 #55B852 #5288B8
square
#B552B8 #B88252 #55B852 #5288B8
split-complementary
#B552B8 #88B852 #52B882
monochromatic
#642A66 #8F3C91 #B552B8 #C87DCA #DAA9DC

Accessibility & contrast

On white

4.32
#B552B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B552B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552B8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552B8#FFFFFF#000000##000000
##B552B81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4672BB
Deuteranopia (green-blind)
#667EB5
Tritanopia (blue-blind)
#B95E7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b552b8;
/* rgb */ color: rgb(181, 82, 184);
/* oklch */ color: oklch(60.1% 0.179 326.4);
Tailwind
colors: {
  custom: {
    50: '#ce88cd',
    500: '#b552b8',
    950: '#000000',
  },
}
SCSS
$custom: #b552b8;
$custom-light: #ce88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b552b8",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 298.235,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60081,
    "c": 0.17932,
    "h": 326.4
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#B552B8
secondary
#9EC99D
accent
#D2565A
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C13
muted
#827D82

Preview Lab

Preview with #B552B8

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

Preview Lab → · Contrast checker → · Palette generator →

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