#B52CB4#B52CB4

#B52CB4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.224 H 328.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B52CB4
RGBrgb(181, 44, 180)
HSLhsl(300, 61%, 44%)
HSVhsv(300, 76%, 71%)
CMYKcmyk(0%, 75.7%, 0.6%, 29%)
CIE-LABlab(45.53, 68.26, -42.41)
CIE-LCHlch(45.53, 80.36, 328.14°)
OKLaboklab(56.01% 0.191 -0.1175)
OKLCHoklch(56.01% 0.224 328.4)
XYZxyz(28.1946, 14.9225, 44.5665)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CB4 #2CB52D
analogous
#722CB5 #B52CB4 #B52C70
triadic
#B52CB4 #B4B52C #2CB4B5
tetradic
#B52CB4 #B5722C #2CB52D #2C70B5
square
#B52CB4 #B5722C #2CB52D #2C70B5
split-complementary
#B52CB4 #70B52C #2CB572
monochromatic
#531452 #842083 #B52CB4 #D34BD2 #DF7CDE

Accessibility & contrast

On white

5.27
#B52CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B52CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CB4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CB4#FFFFFF#000000##FFFFFF
##B52CB41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B60B8
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#BB426F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52cb4;
/* rgb */ color: rgb(181, 44, 180);
/* oklch */ color: oklch(56.0% 0.224 328.4);
Tailwind
colors: {
  custom: {
    50: '#cf75cb',
    500: '#b52cb4',
    950: '#000000',
  },
}
SCSS
$custom: #b52cb4;
$custom-light: #cf75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cb4",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 300.438,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56011,
    "c": 0.22424,
    "h": 328.4
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#B52CB4
secondary
#75C876
accent
#E44544
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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