#B732A5#B732A5

#B732A5 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.208 H 334.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B732A5
RGBrgb(183, 50, 165)
HSLhsl(308, 57%, 46%)
HSVhsv(308, 73%, 72%)
CMYKcmyk(0%, 72.7%, 9.8%, 28.2%)
CIE-LABlab(45.73, 64.48, -33.21)
CIE-LCHlch(45.73, 72.53, 332.75°)
OKLaboklab(55.96% 0.1872 -0.0909)
OKLCHoklch(55.96% 0.208 334.1)
XYZxyz(27.4608, 15.0675, 37.0520)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B732A5 #32B744
analogous
#8632B7 #B732A5 #B73262
triadic
#B732A5 #A5B732 #32A5B7
tetradic
#B732A5 #B78632 #32B744 #3262B7
square
#B732A5 #B78632 #32B744 #3262B7
split-complementary
#B732A5 #62B732 #32B786
monochromatic
#57184E #87257A #B732A5 #D156C0 #DE86D2

Accessibility & contrast

On white

5.23
#B732A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B732A5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B732A5#FFFFFF#000000##FFFFFF
##B732A51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#C03E68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b732a5;
/* rgb */ color: rgb(183, 50, 165);
/* oklch */ color: oklch(56.0% 0.208 334.1);
Tailwind
colors: {
  custom: {
    50: '#d077c0',
    500: '#b732a5',
    950: '#000000',
  },
}
SCSS
$custom: #b732a5;
$custom-light: #d077c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b732a5",
  "rgb": {
    "r": 183,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 308.12,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.20806,
    "h": 334.1
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#B732A5
secondary
#7DC787
accent
#E05C47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B732A5

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

Preview Lab → · Contrast checker → · Palette generator →

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