#B52DCC#B52DCC

#B52DCC is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.6% C 0.242 H 321.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B52DCC
RGBrgb(181, 45, 204)
HSLhsl(291, 64%, 49%)
HSVhsv(291, 78%, 80%)
CMYKcmyk(11.3%, 77.9%, 0%, 20%)
CIE-LABlab(47.06, 71.98, -53.96)
CIE-LCHlch(47.06, 89.96, 323.15°)
OKLaboklab(57.55% 0.1886 -0.1512)
OKLCHoklch(57.55% 0.242 321.3)
XYZxyz(30.8923, 16.0619, 58.5881)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DCC #44CC2D
analogous
#662DCC #B52DCC #CC2D94
triadic
#B52DCC #CCB52D #2DCCB5
tetradic
#B52DCC #CC662D #44CC2D #2D94CC
square
#B52DCC #CC662D #44CC2D #2D94CC
split-complementary
#B52DCC #94CC2D #2DCC66
monochromatic
#5C1768 #89229A #B52DCC #C85BDB #D98DE6

Accessibility & contrast

On white

4.99
#B52DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B52DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DCC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DCC#FFFFFF#000000##FFFFFF
##B52DCC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#B64F7D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b52dcc;
/* rgb */ color: rgb(181, 45, 204);
/* oklch */ color: oklch(57.6% 0.242 321.3);
Tailwind
colors: {
  custom: {
    50: '#d076dc',
    500: '#b52dcc',
    950: '#000000',
  },
}
SCSS
$custom: #b52dcc;
$custom-light: #d076dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b52dcc",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 291.321,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57553,
    "c": 0.24174,
    "h": 321.3
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#B52DCC
secondary
#90D085
accent
#E74159
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B52DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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