#B52EBE#B52EBE

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

Color values

HEX#B52EBE
RGBrgb(181, 46, 190)
HSLhsl(296, 61%, 46%)
HSVhsv(296, 76%, 75%)
CMYKcmyk(4.7%, 75.8%, 0%, 25.5%)
CIE-LABlab(46.31, 69.30, -47.03)
CIE-LCHlch(46.31, 83.75, 325.84°)
OKLaboklab(56.75% 0.1889 -0.131)
OKLCHoklch(56.75% 0.23 325.3)
XYZxyz(29.3266, 15.4974, 50.1519)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EBE #37BE2E
analogous
#6D2EBE #B52EBE #BE2E7F
triadic
#B52EBE #BEB52E #2EBEB5
tetradic
#B52EBE #BE6D2E #37BE2E #2E7FBE
square
#B52EBE #BE6D2E #37BE2E #2E7FBE
split-complementary
#B52EBE #7FBE2E #2EBE6D
monochromatic
#57165B #86228D #B52EBE #CD54D6 #DC85E1

Accessibility & contrast

On white

5.12
#B52EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B52EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52EBE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52EBE#FFFFFF#000000##FFFFFF
##B52EBE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b52ebe;
/* rgb */ color: rgb(181, 46, 190);
/* oklch */ color: oklch(56.8% 0.230 325.3);
Tailwind
colors: {
  custom: {
    50: '#cf76d2',
    500: '#b52ebe',
    950: '#000000',
  },
}
SCSS
$custom: #b52ebe;
$custom-light: #cf76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ebe",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 296.25,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.2299,
    "h": 325.3
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#B52EBE
secondary
#82CB7D
accent
#E4444E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B52EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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