#B52FBE#B52FBE

#B52FBE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.229 H 325.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B52FBE
RGBrgb(181, 47, 190)
HSLhsl(296, 60%, 46%)
HSVhsv(296, 75%, 75%)
CMYKcmyk(4.7%, 75.3%, 0%, 25.5%)
CIE-LABlab(46.41, 68.99, -46.86)
CIE-LCHlch(46.41, 83.40, 325.82°)
OKLaboklab(56.83% 0.1881 -0.1305)
OKLCHoklch(56.83% 0.229 325.2)
XYZxyz(29.3662, 15.5764, 50.1650)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52FBE #38BE2F
analogous
#6E2FBE #B52FBE #BE2F80
triadic
#B52FBE #BEB52F #2FBEB5
tetradic
#B52FBE #BE6E2F #38BE2F #2F80BE
square
#B52FBE #BE6E2F #38BE2F #2F80BE
split-complementary
#B52FBE #80BE2F #2FBE6E
monochromatic
#58175C #86238D #B52FBE #CD55D5 #DB86E1

Accessibility & contrast

On white

5.10
#B52FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52FBE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52FBE#FFFFFF#000000##FFFFFF
##B52FBE1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#B94975
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b52fbe;
/* rgb */ color: rgb(181, 47, 190);
/* oklch */ color: oklch(56.8% 0.229 325.2);
Tailwind
colors: {
  custom: {
    50: '#cf76d2',
    500: '#b52fbe',
    950: '#000000',
  },
}
SCSS
$custom: #b52fbe;
$custom-light: #cf76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52fbe",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 296.224,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.22894,
    "h": 325.2
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#B52FBE
secondary
#83CB7E
accent
#E3444E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B52FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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