#B52FA5#B52FA5

#B52FA5 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.210 H 333.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B52FA5
RGBrgb(181, 47, 165)
HSLhsl(307, 59%, 45%)
HSVhsv(307, 74%, 71%)
CMYKcmyk(0%, 74%, 8.8%, 29%)
CIE-LABlab(45.05, 65.00, -34.30)
CIE-LCHlch(45.05, 73.49, 332.18°)
OKLaboklab(55.41% 0.188 -0.0941)
OKLCHoklch(55.41% 0.21 333.4)
XYZxyz(26.8643, 14.5757, 36.9885)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52FA5 #2FB53F
analogous
#822FB5 #B52FA5 #B52F62
triadic
#B52FA5 #A5B52F #2FA5B5
tetradic
#B52FA5 #B5822F #2FB53F #2F62B5
square
#B52FA5 #B5822F #2FB53F #2F62B5
split-complementary
#B52FA5 #62B52F #2FB582
monochromatic
#54164C #842279 #B52FA5 #D150C2 #DE80D3

Accessibility & contrast

On white

5.36
#B52FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B52FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52FA5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52FA5#FFFFFF#000000##FFFFFF
##B52FA51.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#5D71A2
Tritanopia (blue-blind)
#BD3C67
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52fa5;
/* rgb */ color: rgb(181, 47, 165);
/* oklch */ color: oklch(55.4% 0.210 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf75c0',
    500: '#b52fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b52fa5;
$custom-light: #cf75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52fa5",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 307.164,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55408,
    "c": 0.21022,
    "h": 333.4
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#B52FA5
secondary
#79C782
accent
#E25846
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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