#B52BB8#B52BB8

#B52BB8 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.228 H 327.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B52BB8
RGBrgb(181, 43, 184)
HSLhsl(299, 62%, 45%)
HSVhsv(299, 77%, 72%)
CMYKcmyk(1.6%, 76.6%, 0%, 27.8%)
CIE-LABlab(45.65, 69.19, -44.56)
CIE-LCHlch(45.65, 82.30, 327.22°)
OKLaboklab(56.17% 0.1917 -0.1238)
OKLCHoklch(56.17% 0.228 327.1)
XYZxyz(28.5712, 15.0143, 46.7313)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BB8 #2EB82B
analogous
#6E2BB8 #B52BB8 #B82B75
triadic
#B52BB8 #B8B52B #2BB8B5
tetradic
#B52BB8 #B86E2B #2EB82B #2B75B8
square
#B52BB8 #B86E2B #2EB82B #2B75B8
split-complementary
#B52BB8 #75B82B #2BB86E
monochromatic
#531455 #841F86 #B52BB8 #D24BD5 #DE7DE1

Accessibility & contrast

On white

5.25
#B52BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B52BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BB8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BB8#FFFFFF#000000##FFFFFF
##B52BB81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#5172B5
Tritanopia (blue-blind)
#BA4471
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52bb8;
/* rgb */ color: rgb(181, 43, 184);
/* oklch */ color: oklch(56.2% 0.228 327.1);
Tailwind
colors: {
  custom: {
    50: '#cf75ce',
    500: '#b52bb8',
    950: '#000000',
  },
}
SCSS
$custom: #b52bb8;
$custom-light: #cf75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bb8",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 298.723,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.22817,
    "h": 327.1
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#B52BB8
secondary
#78C976
accent
#E54346
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B52BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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