#B52CB3#B52CB3

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

Color values

HEX#B52CB3
RGBrgb(181, 44, 179)
HSLhsl(301, 61%, 44%)
HSVhsv(301, 76%, 71%)
CMYKcmyk(0%, 75.7%, 1.1%, 29%)
CIE-LABlab(45.47, 68.10, -41.91)
CIE-LCHlch(45.47, 79.96, 328.39°)
OKLaboklab(55.95% 0.191 -0.1161)
OKLCHoklch(55.95% 0.223 328.7)
XYZxyz(28.0931, 14.8819, 44.0319)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CB3 #2CB52E
analogous
#732CB5 #B52CB3 #B52C6F
triadic
#B52CB3 #B3B52C #2CB3B5
tetradic
#B52CB3 #B5732C #2CB52E #2C6FB5
square
#B52CB3 #B5732C #2CB52E #2C6FB5
split-complementary
#B52CB3 #6FB52C #2CB573
monochromatic
#531452 #842082 #B52CB3 #D34BD1 #DF7CDE

Accessibility & contrast

On white

5.28
#B52CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52CB3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CB3#FFFFFF#000000##FFFFFF
##B52CB31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E60B7
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#BB426E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52cb3;
/* rgb */ color: rgb(181, 44, 179);
/* oklch */ color: oklch(56.0% 0.223 328.7);
Tailwind
colors: {
  custom: {
    50: '#cf75ca',
    500: '#b52cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b52cb3;
$custom-light: #cf75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cb3",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 300.876,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55953,
    "c": 0.22349,
    "h": 328.7
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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