#B731AE#B731AE

#B731AE is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.216 H 331.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B731AE
RGBrgb(183, 49, 174)
HSLhsl(304, 58%, 45%)
HSVhsv(304, 73%, 72%)
CMYKcmyk(0%, 73.2%, 4.9%, 28.2%)
CIE-LABlab(46.07, 66.19, -37.99)
CIE-LCHlch(46.07, 76.32, 330.15°)
OKLaboklab(56.36% 0.1886 -0.1047)
OKLCHoklch(56.36% 0.216 331)
XYZxyz(28.2667, 15.3221, 41.5049)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731AE #31B73A
analogous
#7D31B7 #B731AE #B7316B
triadic
#B731AE #AEB731 #31AEB7
tetradic
#B731AE #B77D31 #31B73A #316BB7
square
#B731AE #B77D31 #31B73A #316BB7
split-complementary
#B731AE #6BB731 #31B77D
monochromatic
#561752 #872480 #B731AE #D154C9 #DE84D8

Accessibility & contrast

On white

5.17
#B731AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B731AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731AE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731AE#FFFFFF#000000##FFFFFF
##B731AE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#BE426D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b731ae;
/* rgb */ color: rgb(183, 49, 174);
/* oklch */ color: oklch(56.4% 0.216 331.0);
Tailwind
colors: {
  custom: {
    50: '#d077c6',
    500: '#b731ae',
    950: '#000000',
  },
}
SCSS
$custom: #b731ae;
$custom-light: #d077c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b731ae",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 304.03,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.2157,
    "h": 331
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#B731AE
secondary
#7CC881
accent
#E15147
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B731AE

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

Preview Lab → · Contrast checker → · Palette generator →

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