#B72CB2#B72CB2

#B72CB2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.224 H 329.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B72CB2
RGBrgb(183, 44, 178)
HSLhsl(302, 61%, 45%)
HSVhsv(302, 76%, 72%)
CMYKcmyk(0%, 76%, 2.7%, 28.2%)
CIE-LABlab(45.75, 68.36, -40.86)
CIE-LCHlch(45.75, 79.64, 329.13°)
OKLaboklab(56.2% 0.1931 -0.113)
OKLCHoklch(56.2% 0.224 329.7)
XYZxyz(28.4648, 15.0852, 43.5234)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72CB2 #2CB731
analogous
#762CB7 #B72CB2 #B72C6D
triadic
#B72CB2 #B2B72C #2CB2B7
tetradic
#B72CB2 #B7762C #2CB731 #2C6DB7
square
#B72CB2 #B7762C #2CB731 #2C6DB7
split-complementary
#B72CB2 #6DB72C #2CB776
monochromatic
#541452 #862082 #B72CB2 #D44CCF #E07EDC

Accessibility & contrast

On white

5.23
#B72CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B72CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72CB2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72CB2#FFFFFF#000000##FFFFFF
##B72CB21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B6
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#BE406E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b72cb2;
/* rgb */ color: rgb(183, 44, 178);
/* oklch */ color: oklch(56.2% 0.224 329.7);
Tailwind
colors: {
  custom: {
    50: '#d175c9',
    500: '#b72cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b72cb2;
$custom-light: #d175c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b72cb2",
  "rgb": {
    "r": 183,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 302.158,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.22369,
    "h": 329.7
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#B72CB2
secondary
#76C879
accent
#E44943
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B72CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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