#B52BC6#B52BC6

#B52BC6 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.0% C 0.239 H 323.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B52BC6
RGBrgb(181, 43, 198)
HSLhsl(293, 64%, 47%)
HSVhsv(293, 78%, 78%)
CMYKcmyk(8.6%, 78.3%, 0%, 22.4%)
CIE-LABlab(46.49, 71.52, -51.40)
CIE-LCHlch(46.49, 88.07, 324.30°)
OKLaboklab(57.03% 0.1907 -0.1437)
OKLCHoklch(57.03% 0.239 323)
XYZxyz(30.1120, 15.6306, 54.8461)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BC6 #3CC62B
analogous
#672BC6 #B52BC6 #C62B8A
triadic
#B52BC6 #C6B52B #2BC6B5
tetradic
#B52BC6 #C6672B #3CC62B #2B8AC6
square
#B52BC6 #C6672B #3CC62B #2B8AC6
split-complementary
#B52BC6 #8AC62B #2BC667
monochromatic
#591561 #872094 #B52BC6 #CB54DA #DB87E5

Accessibility & contrast

On white

5.09
#B52BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B52BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BC6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BC6#FFFFFF#000000##FFFFFF
##B52BC61.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#4673C3
Tritanopia (blue-blind)
#B84B79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b52bc6;
/* rgb */ color: rgb(181, 43, 198);
/* oklch */ color: oklch(57.0% 0.239 323.0);
Tailwind
colors: {
  custom: {
    50: '#cf75d8',
    500: '#b52bc6',
    950: '#000000',
  },
}
SCSS
$custom: #b52bc6;
$custom-light: #cf75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bc6",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 198
  },
  "hsl": {
    "h": 293.419,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57031,
    "c": 0.23883,
    "h": 323
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#B52BC6
secondary
#87CE7F
accent
#E74053
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B52BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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