#B52EBD#B52EBD

#B52EBD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.229 H 325.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B52EBD
RGBrgb(181, 46, 189)
HSLhsl(297, 61%, 46%)
HSVhsv(297, 76%, 74%)
CMYKcmyk(4.2%, 75.7%, 0%, 25.9%)
CIE-LABlab(46.25, 69.13, -46.54)
CIE-LCHlch(46.25, 83.34, 326.05°)
OKLaboklab(56.69% 0.189 -0.1295)
OKLCHoklch(56.69% 0.229 325.6)
XYZxyz(29.2177, 15.4538, 49.5782)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EBD #36BD2E
analogous
#6D2EBD #B52EBD #BD2E7D
triadic
#B52EBD #BDB52E #2EBDB5
tetradic
#B52EBD #BD6D2E #36BD2E #2E7DBD
square
#B52EBD #BD6D2E #36BD2E #2E7DBD
split-complementary
#B52EBD #7DBD2E #2EBD6D
monochromatic
#57165B #86228C #B52EBD #CE53D5 #DC84E1

Accessibility & contrast

On white

5.13
#B52EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B52EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52EBD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52EBD#FFFFFF#000000##FFFFFF
##B52EBD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#4F73BA
Tritanopia (blue-blind)
#B94874
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b52ebd;
/* rgb */ color: rgb(181, 46, 189);
/* oklch */ color: oklch(56.7% 0.229 325.6);
Tailwind
colors: {
  custom: {
    50: '#cf76d1',
    500: '#b52ebd',
    950: '#000000',
  },
}
SCSS
$custom: #b52ebd;
$custom-light: #cf76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ebd",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 296.643,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.22914,
    "h": 325.6
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#B52EBD
secondary
#81CA7C
accent
#E4444D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B52EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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