#B52EB0#B52EB0

#B52EB0 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.219 H 329.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B52EB0
RGBrgb(181, 46, 176)
HSLhsl(302, 59%, 45%)
HSVhsv(302, 75%, 71%)
CMYKcmyk(0%, 74.6%, 2.8%, 29%)
CIE-LABlab(45.52, 67.02, -40.07)
CIE-LCHlch(45.52, 78.08, 329.12°)
OKLaboklab(55.93% 0.1893 -0.1107)
OKLCHoklch(55.93% 0.219 329.7)
XYZxyz(27.8694, 14.9145, 42.4768)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EB0 #2EB533
analogous
#762EB5 #B52EB0 #B52E6D
triadic
#B52EB0 #B0B52E #2EB0B5
tetradic
#B52EB0 #B5762E #2EB533 #2E6DB5
square
#B52EB0 #B5762E #2EB533 #2E6DB5
split-complementary
#B52EB0 #6DB52E #2EB576
monochromatic
#531551 #842281 #B52EB0 #D24ECD #DE7FDB

Accessibility & contrast

On white

5.27
#B52EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B52EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52EB0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52EB0#FFFFFF#000000##FFFFFF
##B52EB01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B4
Deuteranopia (green-blind)
#5772AD
Tritanopia (blue-blind)
#BC416D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52eb0;
/* rgb */ color: rgb(181, 46, 176);
/* oklch */ color: oklch(55.9% 0.219 329.7);
Tailwind
colors: {
  custom: {
    50: '#cf75c8',
    500: '#b52eb0',
    950: '#000000',
  },
}
SCSS
$custom: #b52eb0;
$custom-light: #cf75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52eb0",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 302.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.21929,
    "h": 329.7
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#B52EB0
secondary
#78C77B
accent
#E34B45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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