#B731AC#B731AC

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

Color values

HEX#B731AC
RGBrgb(183, 49, 172)
HSLhsl(305, 58%, 45%)
HSVhsv(305, 73%, 72%)
CMYKcmyk(0%, 73.2%, 6%, 28.2%)
CIE-LABlab(45.97, 65.88, -36.98)
CIE-LCHlch(45.97, 75.55, 330.70°)
OKLaboklab(56.25% 0.1885 -0.1018)
OKLCHoklch(56.25% 0.214 331.6)
XYZxyz(28.0732, 15.2447, 40.4857)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731AC #31B73C
analogous
#7F31B7 #B731AC #B73169
triadic
#B731AC #ACB731 #31ACB7
tetradic
#B731AC #B77F31 #31B73C #3169B7
square
#B731AC #B77F31 #31B73C #3169B7
split-complementary
#B731AC #69B731 #31B77F
monochromatic
#561751 #87247F #B731AC #D154C7 #DE84D7

Accessibility & contrast

On white

5.19
#B731AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B731AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731AC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731AC#FFFFFF#000000##FFFFFF
##B731AC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#5C73A9
Tritanopia (blue-blind)
#BF416C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b731ac;
/* rgb */ color: rgb(183, 49, 172);
/* oklch */ color: oklch(56.3% 0.214 331.6);
Tailwind
colors: {
  custom: {
    50: '#d077c5',
    500: '#b731ac',
    950: '#000000',
  },
}
SCSS
$custom: #b731ac;
$custom-light: #d077c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b731ac",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 304.925,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5625,
    "c": 0.21423,
    "h": 331.6
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#B731AC
secondary
#7CC882
accent
#E15347
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B731AC

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

Preview Lab → · Contrast checker → · Palette generator →

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