#B52FBD#B52FBD

#B52FBD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.228 H 325.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B52FBD
RGBrgb(181, 47, 189)
HSLhsl(297, 60%, 46%)
HSVhsv(297, 75%, 74%)
CMYKcmyk(4.2%, 75.1%, 0%, 25.9%)
CIE-LABlab(46.36, 68.83, -46.37)
CIE-LCHlch(46.36, 82.99, 326.03°)
OKLaboklab(56.77% 0.1882 -0.1291)
OKLCHoklch(56.77% 0.228 325.6)
XYZxyz(29.2572, 15.5329, 49.5914)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52FBD #37BD2F
analogous
#6E2FBD #B52FBD #BD2F7E
triadic
#B52FBD #BDB52F #2FBDB5
tetradic
#B52FBD #BD6E2F #37BD2F #2F7EBD
square
#B52FBD #BD6E2F #37BD2F #2F7EBD
split-complementary
#B52FBD #7EBD2F #2FBD6E
monochromatic
#57175B #86238C #B52FBD #CD55D5 #DC86E1

Accessibility & contrast

On white

5.11
#B52FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B52FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52FBD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52FBD#FFFFFF#000000##FFFFFF
##B52FBD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#4F73BA
Tritanopia (blue-blind)
#B94875
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b52fbd;
/* rgb */ color: rgb(181, 47, 189);
/* oklch */ color: oklch(56.8% 0.228 325.6);
Tailwind
colors: {
  custom: {
    50: '#cf76d1',
    500: '#b52fbd',
    950: '#000000',
  },
}
SCSS
$custom: #b52fbd;
$custom-light: #cf76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52fbd",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 296.62,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.22817,
    "h": 325.6
  },
  "luminance": 0.15531
}

Semantic roles & 50–950 ramp

primary
#B52FBD
secondary
#82CA7E
accent
#E3444D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B52FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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