#B731B9#B731B9

#B731B9 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.224 H 327.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B731B9
RGBrgb(183, 49, 185)
HSLhsl(299, 58%, 46%)
HSVhsv(299, 74%, 73%)
CMYKcmyk(1.1%, 73.5%, 0%, 27.5%)
CIE-LABlab(46.67, 67.96, -43.51)
CIE-LCHlch(46.67, 80.69, 327.37°)
OKLaboklab(56.98% 0.1887 -0.1207)
OKLCHoklch(56.98% 0.224 327.4)
XYZxyz(29.3833, 15.7688, 47.3856)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731B9 #33B931
analogous
#7331B9 #B731B9 #B93177
triadic
#B731B9 #B9B731 #31B9B7
tetradic
#B731B9 #B97331 #33B931 #3177B9
square
#B731B9 #B97331 #33B931 #3177B9
split-complementary
#B731B9 #77B931 #31B973
monochromatic
#571758 #872489 #B731B9 #D055D2 #DE86DF

Accessibility & contrast

On white

5.06
#B731B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B731B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731B9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731B9#FFFFFF#000000##FFFFFF
##B731B91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BD
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#BC4773
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b731b9;
/* rgb */ color: rgb(183, 49, 185);
/* oklch */ color: oklch(57.0% 0.224 327.4);
Tailwind
colors: {
  custom: {
    50: '#d077ce',
    500: '#b731b9',
    950: '#000000',
  },
}
SCSS
$custom: #b731b9;
$custom-light: #d077ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b731b9",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 299.118,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56979,
    "c": 0.22399,
    "h": 327.4
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#B731B9
secondary
#7FC87D
accent
#E14649
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B731B9

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

Preview Lab → · Contrast checker → · Palette generator →

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