#B131D3#B131D3

#B131D3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.7% C 0.242 H 318.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B131D3
RGBrgb(177, 49, 211)
HSLhsl(287, 65%, 51%)
HSVhsv(287, 77%, 83%)
CMYKcmyk(16.1%, 76.8%, 0%, 17.3%)
CIE-LABlab(47.30, 71.28, -57.63)
CIE-LCHlch(47.30, 91.66, 321.05°)
OKLaboklab(57.75% 0.1799 -0.1621)
OKLCHoklch(57.75% 0.242 318)
XYZxyz(30.9860, 16.2483, 63.1195)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131D3 #53D331
analogous
#6031D3 #B131D3 #D331A4
triadic
#B131D3 #D3B131 #31D3B1
tetradic
#B131D3 #D36031 #53D331 #31A4D3
square
#B131D3 #D36031 #53D331 #31A4D3
split-complementary
#B131D3 #A4D331 #31D360
monochromatic
#5F1871 #8923A4 #B131D3 #C463DE #D796E9

Accessibility & contrast

On white

4.94
#B131D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B131D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131D3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131D3#FFFFFF#000000##FFFFFF
##B131D31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#3874CF
Tritanopia (blue-blind)
#B05581
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b131d3;
/* rgb */ color: rgb(177, 49, 211);
/* oklch */ color: oklch(57.7% 0.242 318.0);
Tailwind
colors: {
  custom: {
    50: '#cd77e1',
    500: '#b131d3',
    950: '#000000',
  },
}
SCSS
$custom: #b131d3;
$custom-light: #cd77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b131d3",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 211
  },
  "hsl": {
    "h": 287.407,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57745,
    "c": 0.24221,
    "h": 318
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#B131D3
secondary
#9BD48C
accent
#E84063
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B131D3

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

Preview Lab → · Contrast checker → · Palette generator →

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