#B72EBC#B72EBC

#B72EBC is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.229 H 326.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B72EBC
RGBrgb(183, 46, 188)
HSLhsl(298, 61%, 46%)
HSVhsv(298, 76%, 74%)
CMYKcmyk(2.7%, 75.5%, 0%, 26.3%)
CIE-LABlab(46.52, 69.37, -45.51)
CIE-LCHlch(46.52, 82.97, 326.74°)
OKLaboklab(56.93% 0.1912 -0.1265)
OKLCHoklch(56.93% 0.229 326.5)
XYZxyz(29.5820, 15.6542, 49.0307)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72EBC #33BC2E
analogous
#702EBC #B72EBC #BC2E7A
triadic
#B72EBC #BCB72E #2EBCB7
tetradic
#B72EBC #BC702E #33BC2E #2E7ABC
square
#B72EBC #BC702E #33BC2E #2E7ABC
split-complementary
#B72EBC #7ABC2E #2EBC70
monochromatic
#57165A #87228B #B72EBC #D052D5 #DE84E1

Accessibility & contrast

On white

5.08
#B72EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B72EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72EBC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72EBC#FFFFFF#000000##FFFFFF
##B72EBC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#BC4774
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b72ebc;
/* rgb */ color: rgb(183, 46, 188);
/* oklch */ color: oklch(56.9% 0.229 326.5);
Tailwind
colors: {
  custom: {
    50: '#d176d1',
    500: '#b72ebc',
    950: '#000000',
  },
}
SCSS
$custom: #b72ebc;
$custom-light: #d176d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ebc",
  "rgb": {
    "r": 183,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 297.887,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.22925,
    "h": 326.5
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#B72EBC
secondary
#7FCA7C
accent
#E4444A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B72EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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