#B552C7#B552C7

#B552C7 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.193 H 321.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B552C7
RGBrgb(181, 82, 199)
HSLhsl(291, 51%, 55%)
HSVhsv(291, 59%, 78%)
CMYKcmyk(9%, 58.8%, 0%, 22%)
CIE-LABlab(51.82, 56.89, -43.48)
CIE-LCHlch(51.82, 71.60, 322.61°)
OKLaboklab(60.88% 0.1506 -0.1209)
OKLCHoklch(60.88% 0.193 321.2)
XYZxyz(32.3810, 19.9834, 56.1733)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552C7 #64C752
analogous
#7A52C7 #B552C7 #C7529F
triadic
#B552C7 #C7B552 #52C7B5
tetradic
#B552C7 #C77A52 #64C752 #529FC7
square
#B552C7 #C77A52 #64C752 #529FC7
split-complementary
#B552C7 #9FC752 #52C77A
monochromatic
#6B2778 #9536A6 #B552C7 #C980D6 #DDAEE5

Accessibility & contrast

On white

4.20
#B552C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B552C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552C7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552C7#FFFFFF#000000##000000
##B552C71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CB
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#B76485
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b552c7;
/* rgb */ color: rgb(181, 82, 199);
/* oklch */ color: oklch(60.9% 0.193 321.2);
Tailwind
colors: {
  custom: {
    50: '#ce88d8',
    500: '#b552c7',
    950: '#000000',
  },
}
SCSS
$custom: #b552c7;
$custom-light: #ce88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b552c7",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 290.769,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.19312,
    "h": 321.2
  },
  "luminance": 0.19982
}

Semantic roles & 50–950 ramp

primary
#B552C7
secondary
#A9D3A2
accent
#DB4D63
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B552C7

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

Preview Lab → · Contrast checker → · Palette generator →

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