#B72DB8#B72DB8

#B72DB8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.227 H 327.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B72DB8
RGBrgb(183, 45, 184)
HSLhsl(300, 61%, 45%)
HSVhsv(300, 76%, 72%)
CMYKcmyk(0.5%, 75.5%, 0%, 27.8%)
CIE-LABlab(46.19, 69.02, -43.69)
CIE-LCHlch(46.19, 81.69, 327.66°)
OKLaboklab(56.62% 0.1921 -0.1212)
OKLCHoklch(56.62% 0.227 327.8)
XYZxyz(29.1182, 15.4069, 46.7783)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72DB8 #2EB82D
analogous
#712DB8 #B72DB8 #B82D74
triadic
#B72DB8 #B8B72D #2DB8B7
tetradic
#B72DB8 #B8712D #2EB82D #2D74B8
square
#B72DB8 #B8712D #2EB82D #2D74B8
split-complementary
#B72DB8 #74B82D #2DB871
monochromatic
#551556 #862187 #B72DB8 #D34ED4 #DF80E0

Accessibility & contrast

On white

5.15
#B72DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B72DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72DB8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72DB8#FFFFFF#000000##FFFFFF
##B72DB81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0562BC
Deuteranopia (green-blind)
#5373B5
Tritanopia (blue-blind)
#BD4471
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b72db8;
/* rgb */ color: rgb(183, 45, 184);
/* oklch */ color: oklch(56.6% 0.227 327.8);
Tailwind
colors: {
  custom: {
    50: '#d176ce',
    500: '#b72db8',
    950: '#000000',
  },
}
SCSS
$custom: #b72db8;
$custom-light: #d176ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b72db8",
  "rgb": {
    "r": 183,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 299.568,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.22719,
    "h": 327.8
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#B72DB8
secondary
#79C978
accent
#E44445
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B72DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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