#B131B3#B131B3

#B131B3 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.217 H 327.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B131B3
RGBrgb(177, 49, 179)
HSLhsl(299, 57%, 45%)
HSVhsv(299, 73%, 70%)
CMYKcmyk(1.1%, 72.6%, 0%, 29.8%)
CIE-LABlab(45.36, 65.68, -42.13)
CIE-LCHlch(45.36, 78.03, 327.32°)
OKLaboklab(55.75% 0.1823 -0.1168)
OKLCHoklch(55.75% 0.217 327.3)
XYZxyz(27.3660, 14.8003, 44.0545)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B3 #33B331
analogous
#7031B3 #B131B3 #B33174
triadic
#B131B3 #B3B131 #31B3B1
tetradic
#B131B3 #B37031 #33B331 #3174B3
square
#B131B3 #B37031 #33B331 #3174B3
split-complementary
#B131B3 #74B331 #31B370
monochromatic
#521753 #812483 #B131B3 #CE52D0 #DB82DD

Accessibility & contrast

On white

5.30
#B131B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B131B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131B3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B3#FFFFFF#000000##FFFFFF
##B131B31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B7
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#B6466F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b131b3;
/* rgb */ color: rgb(177, 49, 179);
/* oklch */ color: oklch(55.7% 0.217 327.3);
Tailwind
colors: {
  custom: {
    50: '#cc76ca',
    500: '#b131b3',
    950: '#000000',
  },
}
SCSS
$custom: #b131b3;
$custom-light: #cc76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b3",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 299.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.21654,
    "h": 327.3
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

primary
#B131B3
secondary
#7BC67A
accent
#E0484A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B131B3

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

Preview Lab → · Contrast checker → · Palette generator →

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