#B552CE#B552CE

#B552CE is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.3% C 0.200 H 319.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B552CE
RGBrgb(181, 82, 206)
HSLhsl(288, 56%, 56%)
HSVhsv(288, 60%, 81%)
CMYKcmyk(12.1%, 60.2%, 0%, 19.2%)
CIE-LABlab(52.19, 58.24, -46.90)
CIE-LCHlch(52.19, 74.77, 321.16°)
OKLaboklab(61.28% 0.1509 -0.1308)
OKLCHoklch(61.28% 0.2 319.1)
XYZxyz(33.2125, 20.3160, 60.5525)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552CE #6BCE52
analogous
#7752CE #B552CE #CE52A9
triadic
#B552CE #CEB552 #52CEB5
tetradic
#B552CE #CE7752 #6BCE52 #52A9CE
square
#B552CE #CE7752 #6BCE52 #52A9CE
split-complementary
#B552CE #A9CE52 #52CE77
monochromatic
#6E2581 #9732B1 #B552CE #C982DC #DEB1E9

Accessibility & contrast

On white

4.15
#B552CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B552CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552CE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552CE#FFFFFF#000000##000000
##B552CE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#B56688
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b552ce;
/* rgb */ color: rgb(181, 82, 206);
/* oklch */ color: oklch(61.3% 0.200 319.1);
Tailwind
colors: {
  custom: {
    50: '#ce88dd',
    500: '#b552ce',
    950: '#000000',
  },
}
SCSS
$custom: #b552ce;
$custom-light: #ce88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b552ce",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 287.903,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.19973,
    "h": 319.1
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#B552CE
secondary
#AFD7A4
accent
#DF4967
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B552CE

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

Preview Lab → · Contrast checker → · Palette generator →

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