#B72FE2#B72FE2

#B72FE2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.4% C 0.258 H 316.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B72FE2
RGBrgb(183, 47, 226)
HSLhsl(286, 76%, 54%)
HSVhsv(286, 79%, 89%)
CMYKcmyk(19%, 79.2%, 0%, 11.4%)
CIE-LABlab(49.00, 75.71, -63.40)
CIE-LCHlch(49.00, 98.75, 320.06°)
OKLaboklab(59.44% 0.1863 -0.1789)
OKLCHoklch(59.44% 0.258 316.2)
XYZxyz(34.2703, 17.5927, 73.5273)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72FE2 #5AE22F
analogous
#5E2FE2 #B72FE2 #E22FB3
triadic
#B72FE2 #E2B72F #2FE2B7
tetradic
#B72FE2 #E25E2F #5AE22F #2FB3E2
square
#B72FE2 #E25E2F #5AE22F #2FB3E2
split-complementary
#B72FE2 #B3E22F #2FE25E
monochromatic
#691284 #931ABA #B72FE2 #CA65E9 #DC9AF1

Accessibility & contrast

On white

4.65
#B72FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B72FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B72FE2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72FE2#FFFFFF#000000##FFFFFF
##B72FE21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#B45A8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b72fe2;
/* rgb */ color: rgb(183, 47, 226);
/* oklch */ color: oklch(59.4% 0.258 316.2);
Tailwind
colors: {
  custom: {
    50: '#d278ec',
    500: '#b72fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b72fe2;
$custom-light: #d278ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b72fe2",
  "rgb": {
    "r": 183,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 285.587,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.25825,
    "h": 316.2
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

primary
#B72FE2
secondary
#A2DD90
accent
#F23663
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B72FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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