#B72EC9#B72EC9

#B72EC9 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.7% C 0.239 H 322.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B72EC9
RGBrgb(183, 46, 201)
HSLhsl(293, 63%, 48%)
HSVhsv(293, 77%, 79%)
CMYKcmyk(9%, 77.1%, 0%, 21.2%)
CIE-LABlab(47.29, 71.55, -51.83)
CIE-LCHlch(47.29, 88.35, 324.08°)
OKLaboklab(57.72% 0.1904 -0.145)
OKLCHoklch(57.72% 0.239 322.7)
XYZxyz(31.0470, 16.2402, 56.7464)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72EC9 #40C92E
analogous
#692EC9 #B72EC9 #C92E8D
triadic
#B72EC9 #C9B72E #2EC9B7
tetradic
#B72EC9 #C9692E #40C92E #2E8DC9
square
#B72EC9 #C9692E #40C92E #2E8DC9
split-complementary
#B72EC9 #8DC92E #2EC969
monochromatic
#5C1765 #8A2397 #B72EC9 #CB5BD9 #DB8DE5

Accessibility & contrast

On white

4.94
#B72EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B72EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72EC9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72EC9#FFFFFF#000000##FFFFFF
##B72EC91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#B94D7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b72ec9;
/* rgb */ color: rgb(183, 46, 201);
/* oklch */ color: oklch(57.7% 0.239 322.7);
Tailwind
colors: {
  custom: {
    50: '#d177da',
    500: '#b72ec9',
    950: '#000000',
  },
}
SCSS
$custom: #b72ec9;
$custom-light: #d177da;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ec9",
  "rgb": {
    "r": 183,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 293.032,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.23927,
    "h": 322.7
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#B72EC9
secondary
#8DCF84
accent
#E64255
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B72EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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