#B72EA7#B72EA7

#B72EA7 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.214 H 333.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B72EA7
RGBrgb(183, 46, 167)
HSLhsl(307, 60%, 45%)
HSVhsv(307, 75%, 72%)
CMYKcmyk(0%, 74.9%, 8.7%, 28.2%)
CIE-LABlab(45.38, 66.06, -34.94)
CIE-LCHlch(45.38, 74.74, 332.12°)
OKLaboklab(55.74% 0.191 -0.0959)
OKLCHoklch(55.74% 0.214 333.4)
XYZxyz(27.4807, 14.8136, 37.9637)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72EA7 #2EB73E
analogous
#822EB7 #B72EA7 #B72E63
triadic
#B72EA7 #A7B72E #2EA7B7
tetradic
#B72EA7 #B7822E #2EB73E #2E63B7
square
#B72EA7 #B7822E #2EB73E #2E63B7
split-complementary
#B72EA7 #63B72E #2EB782
monochromatic
#55154E #86227A #B72EA7 #D34FC3 #DF80D4

Accessibility & contrast

On white

5.30
#B72EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B72EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72EA7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72EA7#FFFFFF#000000##FFFFFF
##B72EA71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAA
Deuteranopia (green-blind)
#5D72A4
Tritanopia (blue-blind)
#BF3C68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b72ea7;
/* rgb */ color: rgb(183, 46, 167);
/* oklch */ color: oklch(55.7% 0.214 333.4);
Tailwind
colors: {
  custom: {
    50: '#d075c1',
    500: '#b72ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b72ea7;
$custom-light: #d075c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ea7",
  "rgb": {
    "r": 183,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 307.007,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.21375,
    "h": 333.4
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#B72EA7
secondary
#79C882
accent
#E35745
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B72EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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