#B731B8#B731B8

#B731B8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.223 H 327.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B731B8
RGBrgb(183, 49, 184)
HSLhsl(300, 58%, 46%)
HSVhsv(300, 73%, 72%)
CMYKcmyk(0.5%, 73.4%, 0%, 27.8%)
CIE-LABlab(46.61, 67.79, -43.01)
CIE-LCHlch(46.61, 80.29, 327.60°)
OKLaboklab(56.92% 0.1887 -0.1193)
OKLCHoklch(56.92% 0.223 327.7)
XYZxyz(29.2781, 15.7267, 46.8316)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731B8 #32B831
analogous
#7431B8 #B731B8 #B83175
triadic
#B731B8 #B8B731 #31B8B7
tetradic
#B731B8 #B87431 #32B831 #3175B8
square
#B731B8 #B87431 #32B831 #3175B8
split-complementary
#B731B8 #75B831 #31B874
monochromatic
#571757 #872488 #B731B8 #D155D2 #DE85DE

Accessibility & contrast

On white

5.07
#B731B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B731B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731B8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731B8#FFFFFF#000000##FFFFFF
##B731B81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#BD4772
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b731b8;
/* rgb */ color: rgb(183, 49, 184);
/* oklch */ color: oklch(56.9% 0.223 327.7);
Tailwind
colors: {
  custom: {
    50: '#d077ce',
    500: '#b731b8',
    950: '#000000',
  },
}
SCSS
$custom: #b731b8;
$custom-light: #d077ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b731b8",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 299.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.22322,
    "h": 327.7
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#B731B8
secondary
#7DC87D
accent
#E14748
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B731B8

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

Preview Lab → · Contrast checker → · Palette generator →

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