#B72FB1#B72FB1

#B72FB1 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.220 H 330.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B72FB1
RGBrgb(183, 47, 177)
HSLhsl(303, 59%, 45%)
HSVhsv(303, 74%, 72%)
CMYKcmyk(0%, 74.3%, 3.3%, 28.2%)
CIE-LABlab(46.01, 67.30, -39.86)
CIE-LCHlch(46.01, 78.21, 329.36°)
OKLaboklab(56.37% 0.1905 -0.1101)
OKLCHoklch(56.37% 0.22 330)
XYZxyz(28.4806, 15.2769, 43.0351)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72FB1 #2FB735
analogous
#792FB7 #B72FB1 #B72F6D
triadic
#B72FB1 #B1B72F #2FB1B7
tetradic
#B72FB1 #B7792F #2FB735 #2F6DB7
square
#B72FB1 #B7792F #2FB735 #2F6DB7
split-complementary
#B72FB1 #6DB72F #2FB779
monochromatic
#561653 #862282 #B72FB1 #D251CD #DF82DB

Accessibility & contrast

On white

5.18
#B72FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B72FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72FB1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72FB1#FFFFFF#000000##FFFFFF
##B72FB11.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D61B5
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#BE426E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b72fb1;
/* rgb */ color: rgb(183, 47, 177);
/* oklch */ color: oklch(56.4% 0.220 330.0);
Tailwind
colors: {
  custom: {
    50: '#d076c9',
    500: '#b72fb1',
    950: '#000000',
  },
}
SCSS
$custom: #b72fb1;
$custom-light: #d076c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b72fb1",
  "rgb": {
    "r": 183,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 302.647,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56367,
    "c": 0.22,
    "h": 330
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#B72FB1
secondary
#7AC87D
accent
#E24C45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B72FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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