#B131B7#B131B7

#B131B7 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.220 H 326.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B131B7
RGBrgb(177, 49, 183)
HSLhsl(297, 58%, 45%)
HSVhsv(297, 73%, 72%)
CMYKcmyk(3.3%, 73.2%, 0%, 28.2%)
CIE-LABlab(45.59, 66.35, -44.12)
CIE-LCHlch(45.59, 79.68, 326.38°)
OKLaboklab(55.98% 0.1822 -0.1226)
OKLCHoklch(55.98% 0.22 326.1)
XYZxyz(27.7765, 14.9645, 46.2160)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B7 #37B731
analogous
#6E31B7 #B131B7 #B7317A
triadic
#B131B7 #B7B131 #31B7B1
tetradic
#B131B7 #B76E31 #37B731 #317AB7
square
#B131B7 #B76E31 #37B731 #317AB7
split-complementary
#B131B7 #7AB731 #31B76E
monochromatic
#541756 #822487 #B131B7 #CC54D1 #DA84DE

Accessibility & contrast

On white

5.26
#B131B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B131B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131B7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B7#FFFFFF#000000##FFFFFF
##B131B71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0762BB
Deuteranopia (green-blind)
#5071B4
Tritanopia (blue-blind)
#B64872
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b131b7;
/* rgb */ color: rgb(177, 49, 183);
/* oklch */ color: oklch(56.0% 0.220 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc76cd',
    500: '#b131b7',
    950: '#000000',
  },
}
SCSS
$custom: #b131b7;
$custom-light: #cc76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b7",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 297.313,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.21966,
    "h": 326.1
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#B131B7
secondary
#80C87C
accent
#E1474E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B131B7

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

Preview Lab → · Contrast checker → · Palette generator →

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