#B52DBF#B52DBF

#B52DBF is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.232 H 325.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B52DBF
RGBrgb(181, 45, 191)
HSLhsl(296, 62%, 46%)
HSVhsv(296, 76%, 75%)
CMYKcmyk(5.2%, 76.4%, 0%, 25.1%)
CIE-LABlab(46.26, 69.76, -47.68)
CIE-LCHlch(46.26, 84.50, 325.65°)
OKLaboklab(56.74% 0.1897 -0.1329)
OKLCHoklch(56.74% 0.232 325)
XYZxyz(29.3977, 15.4641, 50.7166)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DBF #37BF2D
analogous
#6C2DBF #B52DBF #BF2D80
triadic
#B52DBF #BFB52D #2DBFB5
tetradic
#B52DBF #BF6C2D #37BF2D #2D80BF
square
#B52DBF #BF6C2D #37BF2D #2D80BF
split-complementary
#B52DBF #80BF2D #2DBF6C
monochromatic
#57165C #86218D #B52DBF #CD53D6 #DC84E2

Accessibility & contrast

On white

5.13
#B52DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B52DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DBF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DBF#FFFFFF#000000##FFFFFF
##B52DBF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b52dbf;
/* rgb */ color: rgb(181, 45, 191);
/* oklch */ color: oklch(56.7% 0.232 325.0);
Tailwind
colors: {
  custom: {
    50: '#cf76d3',
    500: '#b52dbf',
    950: '#000000',
  },
}
SCSS
$custom: #b52dbf;
$custom-light: #cf76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52dbf",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 295.89,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.23162,
    "h": 325
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#B52DBF
secondary
#82CB7C
accent
#E5434E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B52DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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