#B72FAB#B72FAB

#B72FAB is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.216 H 332.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B72FAB
RGBrgb(183, 47, 171)
HSLhsl(305, 59%, 45%)
HSVhsv(305, 74%, 72%)
CMYKcmyk(0%, 74.3%, 6.6%, 28.2%)
CIE-LABlab(45.69, 66.36, -36.82)
CIE-LCHlch(45.69, 75.89, 330.98°)
OKLaboklab(56.04% 0.1903 -0.1013)
OKLCHoklch(56.04% 0.216 332)
XYZxyz(27.8957, 15.0429, 39.9545)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72FAB #2FB73B
analogous
#7F2FB7 #B72FAB #B72F67
triadic
#B72FAB #ABB72F #2FABB7
tetradic
#B72FAB #B77F2F #2FB73B #2F67B7
square
#B72FAB #B77F2F #2FB73B #2F67B7
split-complementary
#B72FAB #67B72F #2FB77F
monochromatic
#561650 #86227D #B72FAB #D251C7 #DF82D7

Accessibility & contrast

On white

5.24
#B72FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B72FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72FAB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72FAB#FFFFFF#000000##FFFFFF
##B72FAB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#BF3F6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b72fab;
/* rgb */ color: rgb(183, 47, 171);
/* oklch */ color: oklch(56.0% 0.216 332.0);
Tailwind
colors: {
  custom: {
    50: '#d076c4',
    500: '#b72fab',
    950: '#000000',
  },
}
SCSS
$custom: #b72fab;
$custom-light: #d076c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b72fab",
  "rgb": {
    "r": 183,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 305.294,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.2156,
    "h": 332
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#B72FAB
secondary
#7AC881
accent
#E25345
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B72FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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