#B731A4#B731A4

#B731A4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.208 H 334.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B731A4
RGBrgb(183, 49, 164)
HSLhsl(309, 58%, 45%)
HSVhsv(309, 73%, 72%)
CMYKcmyk(0%, 73.2%, 10.4%, 28.2%)
CIE-LABlab(45.56, 64.66, -32.87)
CIE-LCHlch(45.56, 72.54, 333.05°)
OKLaboklab(55.83% 0.1881 -0.0899)
OKLCHoklch(55.83% 0.208 334.4)
XYZxyz(27.3279, 14.9466, 36.5605)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731A4 #31B744
analogous
#8731B7 #B731A4 #B73161
triadic
#B731A4 #A4B731 #31A4B7
tetradic
#B731A4 #B78731 #31B744 #3161B7
square
#B731A4 #B78731 #31B744 #3161B7
split-complementary
#B731A4 #61B731 #31B787
monochromatic
#56174D #872479 #B731A4 #D154BF #DE84D1

Accessibility & contrast

On white

5.26
#B731A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B731A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731A4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731A4#FFFFFF#000000##FFFFFF
##B731A41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#C03D67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b731a4;
/* rgb */ color: rgb(183, 49, 164);
/* oklch */ color: oklch(55.8% 0.208 334.4);
Tailwind
colors: {
  custom: {
    50: '#d076bf',
    500: '#b731a4',
    950: '#000000',
  },
}
SCSS
$custom: #b731a4;
$custom-light: #d076bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b731a4",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 308.507,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.20845,
    "h": 334.4
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#B731A4
secondary
#7CC887
accent
#E15D47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B731A4

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

Preview Lab → · Contrast checker → · Palette generator →

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