#B52CBD#B52CBD

#B52CBD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.231 H 325.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B52CBD
RGBrgb(181, 44, 189)
HSLhsl(297, 62%, 46%)
HSVhsv(297, 77%, 74%)
CMYKcmyk(4.2%, 76.7%, 0%, 25.9%)
CIE-LABlab(46.04, 69.72, -46.87)
CIE-LCHlch(46.04, 84.01, 326.09°)
OKLaboklab(56.54% 0.1906 -0.1305)
OKLCHoklch(56.54% 0.231 325.6)
XYZxyz(29.1414, 15.3012, 49.5528)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CBD #34BD2C
analogous
#6D2CBD #B52CBD #BD2C7C
triadic
#B52CBD #BDB52C #2CBDB5
tetradic
#B52CBD #BD6D2C #34BD2C #2C7CBD
square
#B52CBD #BD6D2C #34BD2C #2C7CBD
split-complementary
#B52CBD #7CBD2C #2CBD6D
monochromatic
#56155A #85208B #B52CBD #CF50D6 #DC82E2

Accessibility & contrast

On white

5.17
#B52CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B52CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CBD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CBD#FFFFFF#000000##FFFFFF
##B52CBD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#B94774
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b52cbd;
/* rgb */ color: rgb(181, 44, 189);
/* oklch */ color: oklch(56.5% 0.231 325.6);
Tailwind
colors: {
  custom: {
    50: '#cf75d1',
    500: '#b52cbd',
    950: '#000000',
  },
}
SCSS
$custom: #b52cbd;
$custom-light: #cf75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cbd",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 296.69,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.23103,
    "h": 325.6
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#B52CBD
secondary
#7FCB7A
accent
#E5424B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B52CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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