#B52CC7#B52CC7

#B52CC7 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.2% C 0.239 H 322.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B52CC7
RGBrgb(181, 44, 199)
HSLhsl(293, 64%, 48%)
HSVhsv(293, 78%, 78%)
CMYKcmyk(9%, 77.9%, 0%, 22%)
CIE-LABlab(46.65, 71.41, -51.72)
CIE-LCHlch(46.65, 88.17, 324.08°)
OKLaboklab(57.16% 0.1899 -0.1447)
OKLCHoklch(57.16% 0.239 322.7)
XYZxyz(30.2645, 15.7505, 55.4678)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CC7 #3EC72C
analogous
#672CC7 #B52CC7 #C72C8C
triadic
#B52CC7 #C7B52C #2CC7B5
tetradic
#B52CC7 #C7672C #3EC72C #2C8CC7
square
#B52CC7 #C7672C #3EC72C #2C8CC7
split-complementary
#B52CC7 #8CC72C #2CC767
monochromatic
#5A1663 #872195 #B52CC7 #CA56DA #DA89E5

Accessibility & contrast

On white

5.06
#B52CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B52CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CC7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CC7#FFFFFF#000000##FFFFFF
##B52CC71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#B74C7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b52cc7;
/* rgb */ color: rgb(181, 44, 199);
/* oklch */ color: oklch(57.2% 0.239 322.7);
Tailwind
colors: {
  custom: {
    50: '#cf76d9',
    500: '#b52cc7',
    950: '#000000',
  },
}
SCSS
$custom: #b52cc7;
$custom-light: #cf76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cc7",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 293.032,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.23872,
    "h": 322.7
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#B52CC7
secondary
#89CF80
accent
#E74154
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A15
muted
#837C83

Preview Lab

Preview with #B52CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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