#B52CBF#B52CBF

#B52CBF is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.233 H 325.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B52CBF
RGBrgb(181, 44, 191)
HSLhsl(296, 63%, 46%)
HSVhsv(296, 77%, 75%)
CMYKcmyk(5.2%, 77%, 0%, 25.1%)
CIE-LABlab(46.16, 70.05, -47.85)
CIE-LCHlch(46.16, 84.83, 325.67°)
OKLaboklab(56.67% 0.1905 -0.1333)
OKLCHoklch(56.67% 0.233 325)
XYZxyz(29.3600, 15.3887, 50.7040)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CBF #36BF2C
analogous
#6B2CBF #B52CBF #BF2C7F
triadic
#B52CBF #BFB52C #2CBFB5
tetradic
#B52CBF #BF6B2C #36BF2C #2C7FBF
square
#B52CBF #BF6B2C #36BF2C #2C7FBF
split-complementary
#B52CBF #7FBF2C #2CBF6B
monochromatic
#57155C #86218D #B52CBF #CE51D7 #DC83E2

Accessibility & contrast

On white

5.15
#B52CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B52CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CBF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CBF#FFFFFF#000000##FFFFFF
##B52CBF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#B94875
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b52cbf;
/* rgb */ color: rgb(181, 44, 191);
/* oklch */ color: oklch(56.7% 0.233 325.0);
Tailwind
colors: {
  custom: {
    50: '#cf75d3',
    500: '#b52cbf',
    950: '#000000',
  },
}
SCSS
$custom: #b52cbf;
$custom-light: #cf75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cbf",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 295.918,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.23255,
    "h": 325
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#B52CBF
secondary
#81CC7B
accent
#E6424D
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B52CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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