#B731B4#B731B4

#B731B4 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.220 H 329.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B731B4
RGBrgb(183, 49, 180)
HSLhsl(301, 58%, 45%)
HSVhsv(301, 73%, 72%)
CMYKcmyk(0%, 73.2%, 1.6%, 28.2%)
CIE-LABlab(46.39, 67.14, -41.02)
CIE-LCHlch(46.39, 78.68, 328.58°)
OKLaboklab(56.69% 0.1887 -0.1135)
OKLCHoklch(56.69% 0.22 329)
XYZxyz(28.8647, 15.5614, 44.6545)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731B4 #31B734
analogous
#7731B7 #B731B4 #B73171
triadic
#B731B4 #B4B731 #31B4B7
tetradic
#B731B4 #B77731 #31B734 #3171B7
square
#B731B4 #B77731 #31B734 #3171B7
split-complementary
#B731B4 #71B731 #31B777
monochromatic
#561755 #872485 #B731B4 #D154CE #DE84DC

Accessibility & contrast

On white

5.11
#B731B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B731B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731B4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731B4#FFFFFF#000000##FFFFFF
##B731B41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B63B8
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#BD4570
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b731b4;
/* rgb */ color: rgb(183, 49, 180);
/* oklch */ color: oklch(56.7% 0.220 329.0);
Tailwind
colors: {
  custom: {
    50: '#d077cb',
    500: '#b731b4',
    950: '#000000',
  },
}
SCSS
$custom: #b731b4;
$custom-light: #d077cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b731b4",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 301.343,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56693,
    "c": 0.22018,
    "h": 329
  },
  "luminance": 0.15559
}

Semantic roles & 50–950 ramp

primary
#B731B4
secondary
#7CC87E
accent
#E14A47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B731B4

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

Preview Lab → · Contrast checker → · Palette generator →

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