#B552DC#B552DC

#B552DC is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.1% C 0.213 H 315.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B552DC
RGBrgb(181, 82, 220)
HSLhsl(283, 66%, 59%)
HSVhsv(283, 63%, 86%)
CMYKcmyk(17.7%, 62.7%, 0%, 13.7%)
CIE-LABlab(52.98, 61.02, -53.61)
CIE-LCHlch(52.98, 81.23, 318.70°)
OKLaboklab(62.1% 0.151 -0.1505)
OKLCHoklch(62.1% 0.213 315.1)
XYZxyz(34.9895, 21.0268, 69.9117)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552DC #79DC52
analogous
#7052DC #B552DC #DC52BE
triadic
#B552DC #DCB552 #52DCB5
tetradic
#B552DC #DC7052 #79DC52 #52BEDC
square
#B552DC #DC7052 #79DC52 #52BEDC
split-complementary
#B552DC #BEDC52 #52DC70
monochromatic
#741E95 #9B29C8 #B552DC #CB85E6 #E1B8F1

Accessibility & contrast

On white

4.03
#B552DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B552DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552DC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552DC#FFFFFF#000000##000000
##B552DC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E0
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#B26B90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b552dc;
/* rgb */ color: rgb(181, 82, 220);
/* oklch */ color: oklch(62.1% 0.213 315.1);
Tailwind
colors: {
  custom: {
    50: '#cf88e7',
    500: '#b552dc',
    950: '#000000',
  },
}
SCSS
$custom: #b552dc;
$custom-light: #cf88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b552dc",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 283.043,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62098,
    "c": 0.21316,
    "h": 315.1
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#B552DC
secondary
#B9E0AA
accent
#E93F6F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B552DC

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

Preview Lab → · Contrast checker → · Palette generator →

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