#B552E4#B552E4

#B552E4 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.6% C 0.221 H 313.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B552E4
RGBrgb(181, 82, 228)
HSLhsl(281, 73%, 61%)
HSVhsv(281, 64%, 89%)
CMYKcmyk(20.6%, 64%, 0%, 10.6%)
CIE-LABlab(53.45, 62.66, -57.38)
CIE-LCHlch(53.45, 84.96, 317.52°)
OKLaboklab(62.59% 0.1508 -0.1615)
OKLCHoklch(62.59% 0.221 313)
XYZxyz(36.0745, 21.4608, 75.6258)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552E4 #81E452
analogous
#6C52E4 #B552E4 #E452CA
triadic
#B552E4 #E4B552 #52E4B5
tetradic
#B552E4 #E46C52 #81E452 #52CAE4
square
#B552E4 #E46C52 #81E452 #52CAE4
split-complementary
#B552E4 #CAE452 #52E46C
monochromatic
#7619A2 #9D22D7 #B552E4 #CC87EC #E2BCF5

Accessibility & contrast

On white

3.97
#B552E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B552E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552E4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552E4#FFFFFF#000000##000000
##B552E41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#017AE8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#B06E94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b552e4;
/* rgb */ color: rgb(181, 82, 228);
/* oklch */ color: oklch(62.6% 0.221 313.0);
Tailwind
colors: {
  custom: {
    50: '#cf89ed',
    500: '#b552e4',
    950: '#000000',
  },
}
SCSS
$custom: #b552e4;
$custom-light: #cf89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b552e4",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 280.685,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6259,
    "c": 0.22092,
    "h": 313
  },
  "luminance": 0.2146
}

Semantic roles & 50–950 ramp

primary
#B552E4
secondary
#BFE5AD
accent
#D51050
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B552E4

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

Preview Lab → · Contrast checker → · Palette generator →

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