#B72DBB#B72DBB

#B72DBB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.229 H 326.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B72DBB
RGBrgb(183, 45, 187)
HSLhsl(298, 61%, 45%)
HSVhsv(298, 76%, 73%)
CMYKcmyk(2.1%, 75.9%, 0%, 26.7%)
CIE-LABlab(46.36, 69.51, -45.18)
CIE-LCHlch(46.36, 82.90, 326.98°)
OKLaboklab(56.79% 0.1921 -0.1255)
OKLCHoklch(56.79% 0.229 326.8)
XYZxyz(29.4360, 15.5340, 48.4520)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72DBB #31BB2D
analogous
#702DBB #B72DBB #BB2D78
triadic
#B72DBB #BBB72D #2DBBB7
tetradic
#B72DBB #BB702D #31BB2D #2D78BB
square
#B72DBB #BB702D #31BB2D #2D78BB
split-complementary
#B72DBB #78BB2D #2DBB70
monochromatic
#561558 #87218A #B72DBB #D150D5 #DE82E1

Accessibility & contrast

On white

5.11
#B72DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B72DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72DBB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72DBB#FFFFFF#000000##FFFFFF
##B72DBB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#BC4673
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b72dbb;
/* rgb */ color: rgb(183, 45, 187);
/* oklch */ color: oklch(56.8% 0.229 326.8);
Tailwind
colors: {
  custom: {
    50: '#d176d0',
    500: '#b72dbb',
    950: '#000000',
  },
}
SCSS
$custom: #b72dbb;
$custom-light: #d176d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b72dbb",
  "rgb": {
    "r": 183,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 298.31,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.22944,
    "h": 326.8
  },
  "luminance": 0.15532
}

Semantic roles & 50–950 ramp

primary
#B72DBB
secondary
#7CCA7A
accent
#E44348
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B72DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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