#B52FB0#B52FB0

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

Color values

HEX#B52FB0
RGBrgb(181, 47, 176)
HSLhsl(302, 59%, 45%)
HSVhsv(302, 74%, 71%)
CMYKcmyk(0%, 74%, 2.8%, 29%)
CIE-LABlab(45.63, 66.71, -39.90)
CIE-LCHlch(45.63, 77.73, 329.11°)
OKLaboklab(56.01% 0.1884 -0.1103)
OKLCHoklch(56.01% 0.218 329.7)
XYZxyz(27.9089, 14.9935, 42.4900)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52FB0 #2FB534
analogous
#772FB5 #B52FB0 #B52F6D
triadic
#B52FB0 #B0B52F #2FB0B5
tetradic
#B52FB0 #B5772F #2FB534 #2F6DB5
square
#B52FB0 #B5772F #2FB534 #2F6DB5
split-complementary
#B52FB0 #6DB52F #2FB577
monochromatic
#541652 #842281 #B52FB0 #D150CD #DE80DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52FB0#FFFFFF#000000##FFFFFF
##B52FB01.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)
#1C61B3
Deuteranopia (green-blind)
#5772AD
Tritanopia (blue-blind)
#BC426D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52fb0;
/* rgb */ color: rgb(181, 47, 176);
/* oklch */ color: oklch(56.0% 0.218 329.7);
Tailwind
colors: {
  custom: {
    50: '#cf76c8',
    500: '#b52fb0',
    950: '#000000',
  },
}
SCSS
$custom: #b52fb0;
$custom-light: #cf76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52fb0",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 302.239,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.21828,
    "h": 329.7
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#B52FB0
secondary
#79C77C
accent
#E24C46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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