#B552D4#B552D4

#B552D4 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.205 H 317.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B552D4
RGBrgb(181, 82, 212)
HSLhsl(286, 60%, 58%)
HSVhsv(286, 61%, 83%)
CMYKcmyk(14.6%, 61.3%, 0%, 16.9%)
CIE-LABlab(52.52, 59.42, -49.79)
CIE-LCHlch(52.52, 77.53, 320.04°)
OKLaboklab(61.62% 0.151 -0.1393)
OKLCHoklch(61.62% 0.205 317.3)
XYZxyz(33.9553, 20.6131, 64.4647)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552D4 #71D452
analogous
#7452D4 #B552D4 #D452B2
triadic
#B552D4 #D4B552 #52D4B5
tetradic
#B552D4 #D47452 #71D452 #52B2D4
square
#B552D4 #D47452 #71D452 #52B2D4
split-complementary
#B552D4 #B2D452 #52D474
monochromatic
#712289 #992EBA #B552D4 #CA83E0 #DFB4EC

Accessibility & contrast

On white

4.10
#B552D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B552D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552D4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552D4#FFFFFF#000000##000000
##B552D41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B77D8
Deuteranopia (green-blind)
#5680D1
Tritanopia (blue-blind)
#B4688C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b552d4;
/* rgb */ color: rgb(181, 82, 212);
/* oklch */ color: oklch(61.6% 0.205 317.3);
Tailwind
colors: {
  custom: {
    50: '#ce88e2',
    500: '#b552d4',
    950: '#000000',
  },
}
SCSS
$custom: #b552d4;
$custom-light: #ce88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b552d4",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 285.692,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.20545,
    "h": 317.3
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

primary
#B552D4
secondary
#B3DBA7
accent
#E3446A
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B552D4

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

Preview Lab → · Contrast checker → · Palette generator →

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