#B72EB2#B72EB2

#B72EB2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.222 H 329.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B72EB2
RGBrgb(183, 46, 178)
HSLhsl(302, 60%, 45%)
HSVhsv(302, 75%, 72%)
CMYKcmyk(0%, 74.9%, 2.7%, 28.2%)
CIE-LABlab(45.96, 67.76, -40.53)
CIE-LCHlch(45.96, 78.96, 329.11°)
OKLaboklab(56.35% 0.1914 -0.112)
OKLCHoklch(56.35% 0.222 329.7)
XYZxyz(28.5411, 15.2378, 43.5488)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72EB2 #2EB733
analogous
#782EB7 #B72EB2 #B72E6D
triadic
#B72EB2 #B2B72E #2EB2B7
tetradic
#B72EB2 #B7782E #2EB733 #2E6DB7
square
#B72EB2 #B7782E #2EB733 #2E6DB7
split-complementary
#B72EB2 #6DB72E #2EB778
monochromatic
#551553 #862282 #B72EB2 #D34FCE #DF80DC

Accessibility & contrast

On white

5.19
#B72EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B72EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72EB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72EB2#FFFFFF#000000##FFFFFF
##B72EB21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B6
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#BE426E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b72eb2;
/* rgb */ color: rgb(183, 46, 178);
/* oklch */ color: oklch(56.3% 0.222 329.7);
Tailwind
colors: {
  custom: {
    50: '#d176c9',
    500: '#b72eb2',
    950: '#000000',
  },
}
SCSS
$custom: #b72eb2;
$custom-light: #d176c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b72eb2",
  "rgb": {
    "r": 183,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 302.19,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.22174,
    "h": 329.7
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#B72EB2
secondary
#79C87C
accent
#E34B45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B72EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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