#B732A7#B732A7

#B732A7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.210 H 333.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B732A7
RGBrgb(183, 50, 167)
HSLhsl(307, 57%, 46%)
HSVhsv(307, 73%, 72%)
CMYKcmyk(0%, 72.7%, 8.7%, 28.2%)
CIE-LABlab(45.83, 64.78, -34.24)
CIE-LCHlch(45.83, 73.27, 332.14°)
OKLaboklab(56.07% 0.1873 -0.0939)
OKLCHoklch(56.07% 0.21 333.4)
XYZxyz(27.6443, 15.1408, 38.0182)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B732A7 #32B742
analogous
#8432B7 #B732A7 #B73264
triadic
#B732A7 #A7B732 #32A7B7
tetradic
#B732A7 #B78432 #32B742 #3264B7
square
#B732A7 #B78432 #32B742 #3264B7
split-complementary
#B732A7 #64B732 #32B784
monochromatic
#57184F #87257B #B732A7 #D156C2 #DE86D3

Accessibility & contrast

On white

5.21
#B732A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B732A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B732A7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B732A7#FFFFFF#000000##FFFFFF
##B732A71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#5F73A4
Tritanopia (blue-blind)
#BF3F69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b732a7;
/* rgb */ color: rgb(183, 50, 167);
/* oklch */ color: oklch(56.1% 0.210 333.4);
Tailwind
colors: {
  custom: {
    50: '#d077c1',
    500: '#b732a7',
    950: '#000000',
  },
}
SCSS
$custom: #b732a7;
$custom-light: #d077c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b732a7",
  "rgb": {
    "r": 183,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 307.218,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.20951,
    "h": 333.4
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#B732A7
secondary
#7DC786
accent
#E05A47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B732A7

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

Preview Lab → · Contrast checker → · Palette generator →

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