#B72DB2#B72DB2

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

Color values

HEX#B72DB2
RGBrgb(183, 45, 178)
HSLhsl(302, 61%, 45%)
HSVhsv(302, 75%, 72%)
CMYKcmyk(0%, 75.4%, 2.7%, 28.2%)
CIE-LABlab(45.85, 68.06, -40.70)
CIE-LCHlch(45.85, 79.30, 329.12°)
OKLaboklab(56.27% 0.1922 -0.1125)
OKLCHoklch(56.27% 0.223 329.7)
XYZxyz(28.5025, 15.1606, 43.5359)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72DB2 #2DB732
analogous
#772DB7 #B72DB2 #B72D6D
triadic
#B72DB2 #B2B72D #2DB2B7
tetradic
#B72DB2 #B7772D #2DB732 #2D6DB7
square
#B72DB2 #B7772D #2DB732 #2D6DB7
split-complementary
#B72DB2 #6DB72D #2DB777
monochromatic
#551552 #862182 #B72DB2 #D34ECF #DF7FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B72DB2#FFFFFF#000000##FFFFFF
##B72DB21.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)
#1761B6
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#BE416E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b72db2;
/* rgb */ color: rgb(183, 45, 178);
/* oklch */ color: oklch(56.3% 0.223 329.7);
Tailwind
colors: {
  custom: {
    50: '#d175c9',
    500: '#b72db2',
    950: '#000000',
  },
}
SCSS
$custom: #b72db2;
$custom-light: #d175c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b72db2",
  "rgb": {
    "r": 183,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 302.174,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.22273,
    "h": 329.7
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B72DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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