#B131B9#B131B9

#B131B9 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.221 H 325.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B131B9
RGBrgb(177, 49, 185)
HSLhsl(296, 58%, 46%)
HSVhsv(296, 74%, 73%)
CMYKcmyk(4.3%, 73.5%, 0%, 27.5%)
CIE-LABlab(45.70, 66.69, -45.11)
CIE-LCHlch(45.70, 80.51, 325.92°)
OKLaboklab(56.1% 0.1822 -0.1255)
OKLCHoklch(56.1% 0.221 325.4)
XYZxyz(27.9861, 15.0484, 47.3201)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B9 #39B931
analogous
#6D31B9 #B131B9 #B9317D
triadic
#B131B9 #B9B131 #31B9B1
tetradic
#B131B9 #B96D31 #39B931 #317DB9
square
#B131B9 #B96D31 #39B931 #317DB9
split-complementary
#B131B9 #7DB931 #31B96D
monochromatic
#541758 #832489 #B131B9 #CB55D2 #DA86DF

Accessibility & contrast

On white

5.24
#B131B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B131B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131B9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B9#FFFFFF#000000##FFFFFF
##B131B91.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#B54973
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b131b9;
/* rgb */ color: rgb(177, 49, 185);
/* oklch */ color: oklch(56.1% 0.221 325.4);
Tailwind
colors: {
  custom: {
    50: '#cc76ce',
    500: '#b131b9',
    950: '#000000',
  },
}
SCSS
$custom: #b131b9;
$custom-light: #cc76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b9",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 296.471,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.561,
    "c": 0.22124,
    "h": 325.4
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#B131B9
secondary
#82C87D
accent
#E14650
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B131B9

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

Preview Lab → · Contrast checker → · Palette generator →

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