#B52EBF#B52EBF

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

Color values

HEX#B52EBF
RGBrgb(181, 46, 191)
HSLhsl(296, 61%, 46%)
HSVhsv(296, 76%, 75%)
CMYKcmyk(5.2%, 75.9%, 0%, 25.1%)
CIE-LABlab(46.37, 69.46, -47.52)
CIE-LCHlch(46.37, 84.16, 325.63°)
OKLaboklab(56.81% 0.1889 -0.1324)
OKLCHoklch(56.81% 0.231 325)
XYZxyz(29.4363, 15.5413, 50.7294)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EBF #38BF2E
analogous
#6D2EBF #B52EBF #BF2E81
triadic
#B52EBF #BFB52E #2EBFB5
tetradic
#B52EBF #BF6D2E #38BF2E #2E81BF
square
#B52EBF #BF6D2E #38BF2E #2E81BF
split-complementary
#B52EBF #81BF2E #2EBF6D
monochromatic
#58165C #86228E #B52EBF #CD54D6 #DB86E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52EBF#FFFFFF#000000##FFFFFF
##B52EBF1.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)
#0063C3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#B94975
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b52ebf;
/* rgb */ color: rgb(181, 46, 191);
/* oklch */ color: oklch(56.8% 0.231 325.0);
Tailwind
colors: {
  custom: {
    50: '#cf76d3',
    500: '#b52ebf',
    950: '#000000',
  },
}
SCSS
$custom: #b52ebf;
$custom-light: #cf76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ebf",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 295.862,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.23068,
    "h": 325
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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