#B52BB2#B52BB2

#B52BB2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.224 H 329.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B52BB2
RGBrgb(181, 43, 178)
HSLhsl(301, 62%, 44%)
HSVhsv(301, 76%, 71%)
CMYKcmyk(0%, 76.2%, 1.7%, 29%)
CIE-LABlab(45.31, 68.23, -41.57)
CIE-LCHlch(45.31, 79.90, 328.64°)
OKLaboklab(55.82% 0.1918 -0.1151)
OKLCHoklch(55.82% 0.224 329)
XYZxyz(27.9556, 14.7680, 43.4890)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BB2 #2BB52E
analogous
#732BB5 #B52BB2 #B52B6D
triadic
#B52BB2 #B2B52B #2BB2B5
tetradic
#B52BB2 #B5732B #2BB52E #2B6DB5
square
#B52BB2 #B5732B #2BB52E #2B6DB5
split-complementary
#B52BB2 #6DB52B #2BB573
monochromatic
#521451 #841F81 #B52BB2 #D449D1 #E07BDD

Accessibility & contrast

On white

5.31
#B52BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B52BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BB2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BB2#FFFFFF#000000##FFFFFF
##B52BB21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#BB406D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52bb2;
/* rgb */ color: rgb(181, 43, 178);
/* oklch */ color: oklch(55.8% 0.224 329.0);
Tailwind
colors: {
  custom: {
    50: '#cf74c9',
    500: '#b52bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b52bb2;
$custom-light: #cf74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bb2",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 301.304,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55823,
    "c": 0.22371,
    "h": 329
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

primary
#B52BB2
secondary
#74C876
accent
#E54743
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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