#B52EBB#B52EBB

#B52EBB is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.228 H 326.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B52EBB
RGBrgb(181, 46, 187)
HSLhsl(297, 61%, 46%)
HSVhsv(297, 75%, 73%)
CMYKcmyk(3.2%, 75.4%, 0%, 26.7%)
CIE-LABlab(46.13, 68.80, -45.55)
CIE-LCHlch(46.13, 82.51, 326.49°)
OKLaboklab(56.57% 0.1891 -0.1267)
OKLCHoklch(56.57% 0.228 326.2)
XYZxyz(29.0021, 15.3676, 48.4428)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EBB #34BB2E
analogous
#6E2EBB #B52EBB #BB2E7A
triadic
#B52EBB #BBB52E #2EBBB5
tetradic
#B52EBB #BB6E2E #34BB2E #2E7ABB
square
#B52EBB #BB6E2E #34BB2E #2E7ABB
split-complementary
#B52EBB #7ABB2E #2EBB6E
monochromatic
#561659 #85228A #B52EBB #CF52D4 #DC83E0

Accessibility & contrast

On white

5.16
#B52EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B52EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52EBB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52EBB#FFFFFF#000000##FFFFFF
##B52EBB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#BA4773
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b52ebb;
/* rgb */ color: rgb(181, 46, 187);
/* oklch */ color: oklch(56.6% 0.228 326.2);
Tailwind
colors: {
  custom: {
    50: '#cf76d0',
    500: '#b52ebb',
    950: '#000000',
  },
}
SCSS
$custom: #b52ebb;
$custom-light: #cf76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ebb",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 297.447,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.2276,
    "h": 326.2
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#B52EBB
secondary
#7FCA7B
accent
#E4444B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B52EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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