#B72AAF#B72AAF

#B72AAF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.223 H 330.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B72AAF
RGBrgb(183, 42, 175)
HSLhsl(303, 63%, 44%)
HSVhsv(303, 77%, 72%)
CMYKcmyk(0%, 77%, 4.4%, 28.2%)
CIE-LABlab(45.39, 68.46, -39.67)
CIE-LCHlch(45.39, 79.13, 329.91°)
OKLaboklab(55.89% 0.1947 -0.1095)
OKLCHoklch(55.89% 0.223 330.6)
XYZxyz(28.0942, 14.8206, 41.9301)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72AAF #2AB732
analogous
#792AB7 #B72AAF #B72A69
triadic
#B72AAF #AFB72A #2AAFB7
tetradic
#B72AAF #B7792A #2AB732 #2A69B7
square
#B72AAF #B7792A #2AB732 #2A69B7
split-complementary
#B72AAF #69B72A #2AB779
monochromatic
#531350 #851F7F #B72AAF #D549CD #E17BDB

Accessibility & contrast

On white

5.30
#B72AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B72AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72AAF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72AAF#FFFFFF#000000##FFFFFF
##B72AAF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB3
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#BE3E6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b72aaf;
/* rgb */ color: rgb(183, 42, 175);
/* oklch */ color: oklch(55.9% 0.223 330.6);
Tailwind
colors: {
  custom: {
    50: '#d174c7',
    500: '#b72aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b72aaf;
$custom-light: #d174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b72aaf",
  "rgb": {
    "r": 183,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 303.404,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.22339,
    "h": 330.6
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#B72AAF
secondary
#74C979
accent
#E64B42
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B72AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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