#B131B1#B131B1

#B131B1 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.215 H 328.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B131B1
RGBrgb(177, 49, 177)
HSLhsl(300, 57%, 44%)
HSVhsv(300, 72%, 69%)
CMYKcmyk(0%, 72.3%, 0%, 30.6%)
CIE-LABlab(45.25, 65.35, -41.13)
CIE-LCHlch(45.25, 77.22, 327.81°)
OKLaboklab(55.63% 0.1823 -0.1139)
OKLCHoklch(55.63% 0.215 328)
XYZxyz(27.1652, 14.7200, 42.9969)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B1 #31B131
analogous
#7131B1 #B131B1 #B13171
triadic
#B131B1 #B1B131 #31B1B1
tetradic
#B131B1 #B17131 #31B131 #3171B1
square
#B131B1 #B17131 #31B131 #3171B1
split-complementary
#B131B1 #71B131 #31B171
monochromatic
#511651 #812481 #B131B1 #CF51CF #DC80DC

Accessibility & contrast

On white

5.33
#B131B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B131B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131B1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B1#FFFFFF#000000##FFFFFF
##B131B11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1860B5
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#B7456E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b131b1;
/* rgb */ color: rgb(177, 49, 177);
/* oklch */ color: oklch(55.6% 0.215 328.0);
Tailwind
colors: {
  custom: {
    50: '#cc76c9',
    500: '#b131b1',
    950: '#000000',
  },
}
SCSS
$custom: #b131b1;
$custom-light: #cc76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b1",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 300,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55631,
    "c": 0.215,
    "h": 328
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#B131B1
secondary
#79C579
accent
#E04848
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B131B1

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

Preview Lab → · Contrast checker → · Palette generator →

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