#B72FAF#B72FAF

#B72FAF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.219 H 330.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B72FAF
RGBrgb(183, 47, 175)
HSLhsl(304, 59%, 45%)
HSVhsv(304, 74%, 72%)
CMYKcmyk(0%, 74.3%, 4.4%, 28.2%)
CIE-LABlab(45.90, 66.98, -38.85)
CIE-LCHlch(45.90, 77.43, 329.89°)
OKLaboklab(56.26% 0.1904 -0.1072)
OKLCHoklch(56.26% 0.219 330.6)
XYZxyz(28.2827, 15.1977, 41.9930)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72FAF #2FB737
analogous
#7B2FB7 #B72FAF #B72F6B
triadic
#B72FAF #AFB72F #2FAFB7
tetradic
#B72FAF #B77B2F #2FB737 #2F6BB7
square
#B72FAF #B77B2F #2FB737 #2F6BB7
split-complementary
#B72FAF #6BB72F #2FB77B
monochromatic
#561652 #862280 #B72FAF #D251CB #DF82D9

Accessibility & contrast

On white

5.20
#B72FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B72FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72FAF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72FAF#FFFFFF#000000##FFFFFF
##B72FAF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#BE416D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b72faf;
/* rgb */ color: rgb(183, 47, 175);
/* oklch */ color: oklch(56.3% 0.219 330.6);
Tailwind
colors: {
  custom: {
    50: '#d076c7',
    500: '#b72faf',
    950: '#000000',
  },
}
SCSS
$custom: #b72faf;
$custom-light: #d076c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b72faf",
  "rgb": {
    "r": 183,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 303.529,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56255,
    "c": 0.21852,
    "h": 330.6
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#B72FAF
secondary
#7AC87F
accent
#E24F45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B72FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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