#B72BB6#B72BB6

#B72BB6 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.228 H 328.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B72BB6
RGBrgb(183, 43, 182)
HSLhsl(300, 62%, 44%)
HSVhsv(300, 77%, 72%)
CMYKcmyk(0%, 76.5%, 0.5%, 28.2%)
CIE-LABlab(45.87, 69.28, -43.02)
CIE-LCHlch(45.87, 81.55, 328.16°)
OKLaboklab(56.36% 0.1938 -0.1192)
OKLCHoklch(56.36% 0.228 328.4)
XYZxyz(28.8355, 15.1746, 45.6571)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72BB6 #2BB72C
analogous
#722BB7 #B72BB6 #B72B70
triadic
#B72BB6 #B6B72B #2BB6B7
tetradic
#B72BB6 #B7722B #2BB72C #2B70B7
square
#B72BB6 #B7722B #2BB72C #2B70B7
split-complementary
#B72BB6 #70B72B #2BB772
monochromatic
#541453 #851F85 #B72BB6 #D54BD4 #E07CE0

Accessibility & contrast

On white

5.21
#B72BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B72BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72BB6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72BB6#FFFFFF#000000##FFFFFF
##B72BB61.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0661BA
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#BD4270
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b72bb6;
/* rgb */ color: rgb(183, 43, 182);
/* oklch */ color: oklch(56.4% 0.228 328.4);
Tailwind
colors: {
  custom: {
    50: '#d175cc',
    500: '#b72bb6',
    950: '#000000',
  },
}
SCSS
$custom: #b72bb6;
$custom-light: #d175cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b72bb6",
  "rgb": {
    "r": 183,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 300.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56356,
    "c": 0.22758,
    "h": 328.4
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#B72BB6
secondary
#75C976
accent
#E54443
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B72BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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