#B72DB1#B72DB1

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

Color values

HEX#B72DB1
RGBrgb(183, 45, 177)
HSLhsl(303, 61%, 45%)
HSVhsv(303, 75%, 72%)
CMYKcmyk(0%, 75.4%, 3.3%, 28.2%)
CIE-LABlab(45.80, 67.90, -40.20)
CIE-LCHlch(45.80, 78.91, 329.38°)
OKLaboklab(56.22% 0.1922 -0.111)
OKLCHoklch(56.22% 0.222 330)
XYZxyz(28.4025, 15.1206, 43.0091)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72DB1 #2DB733
analogous
#782DB7 #B72DB1 #B72D6C
triadic
#B72DB1 #B1B72D #2DB1B7
tetradic
#B72DB1 #B7782D #2DB733 #2D6CB7
square
#B72DB1 #B7782D #2DB733 #2D6CB7
split-complementary
#B72DB1 #6CB72D #2DB778
monochromatic
#551552 #862181 #B72DB1 #D34ECE #DF7FDB

Accessibility & contrast

On white

5.22
#B72DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B72DB1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72DB1#FFFFFF#000000##FFFFFF
##B72DB11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#BE416D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b72db1;
/* rgb */ color: rgb(183, 45, 177);
/* oklch */ color: oklch(56.2% 0.222 330.0);
Tailwind
colors: {
  custom: {
    50: '#d175c9',
    500: '#b72db1',
    950: '#000000',
  },
}
SCSS
$custom: #b72db1;
$custom-light: #d175c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b72db1",
  "rgb": {
    "r": 183,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 302.609,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.22199,
    "h": 330
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#B72DB1
secondary
#78C87B
accent
#E44B44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B72DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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