#B131B8#B131B8

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

Color values

HEX#B131B8
RGBrgb(177, 49, 184)
HSLhsl(297, 58%, 46%)
HSVhsv(297, 73%, 72%)
CMYKcmyk(3.8%, 73.4%, 0%, 27.8%)
CIE-LABlab(45.64, 66.52, -44.62)
CIE-LCHlch(45.64, 80.10, 326.15°)
OKLaboklab(56.04% 0.1822 -0.1241)
OKLCHoklch(56.04% 0.22 325.7)
XYZxyz(27.8809, 15.0063, 46.7661)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B8 #38B831
analogous
#6D31B8 #B131B8 #B8317B
triadic
#B131B8 #B8B131 #31B8B1
tetradic
#B131B8 #B86D31 #38B831 #317BB8
square
#B131B8 #B86D31 #38B831 #317BB8
split-complementary
#B131B8 #7BB831 #31B86D
monochromatic
#541757 #832488 #B131B8 #CB55D2 #DA85DE

Accessibility & contrast

On white

5.25
#B131B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B131B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131B8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B8#FFFFFF#000000##FFFFFF
##B131B81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0462BC
Deuteranopia (green-blind)
#4F71B5
Tritanopia (blue-blind)
#B54872
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b131b8;
/* rgb */ color: rgb(177, 49, 184);
/* oklch */ color: oklch(56.0% 0.220 325.7);
Tailwind
colors: {
  custom: {
    50: '#cc76ce',
    500: '#b131b8',
    950: '#000000',
  },
}
SCSS
$custom: #b131b8;
$custom-light: #cc76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b8",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 296.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.22045,
    "h": 325.7
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#B131B8
secondary
#81C87D
accent
#E1474F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B131B8

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

Preview Lab → · Contrast checker → · Palette generator →

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