#B52EA8#B52EA8

#B52EA8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.213 H 332.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B52EA8
RGBrgb(181, 46, 168)
HSLhsl(306, 59%, 45%)
HSVhsv(306, 75%, 71%)
CMYKcmyk(0%, 74.6%, 7.2%, 29%)
CIE-LABlab(45.09, 65.77, -36.01)
CIE-LCHlch(45.09, 74.98, 331.30°)
OKLaboklab(55.49% 0.1891 -0.099)
OKLCHoklch(55.49% 0.213 332.4)
XYZxyz(27.1010, 14.6072, 38.4303)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EA8 #2EB53B
analogous
#7F2EB5 #B52EA8 #B52E65
triadic
#B52EA8 #A8B52E #2EA8B5
tetradic
#B52EA8 #B57F2E #2EB53B #2E65B5
square
#B52EA8 #B57F2E #2EB53B #2E65B5
split-complementary
#B52EA8 #65B52E #2EB57F
monochromatic
#53154D #84227B #B52EA8 #D24EC5 #DE7FD5

Accessibility & contrast

On white

5.36
#B52EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B52EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52EA8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52EA8#FFFFFF#000000##FFFFFF
##B52EA81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAB
Deuteranopia (green-blind)
#5B71A5
Tritanopia (blue-blind)
#BD3D69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52ea8;
/* rgb */ color: rgb(181, 46, 168);
/* oklch */ color: oklch(55.5% 0.213 332.4);
Tailwind
colors: {
  custom: {
    50: '#cf75c2',
    500: '#b52ea8',
    950: '#000000',
  },
}
SCSS
$custom: #b52ea8;
$custom-light: #cf75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ea8",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 305.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5549,
    "c": 0.21342,
    "h": 332.4
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#B52EA8
secondary
#78C77F
accent
#E35445
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B52EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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