#B131B2#B131B2

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

Color values

HEX#B131B2
RGBrgb(177, 49, 178)
HSLhsl(300, 57%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0.6%, 72.5%, 0%, 30.2%)
CIE-LABlab(45.30, 65.52, -41.63)
CIE-LCHlch(45.30, 77.63, 327.57°)
OKLaboklab(55.69% 0.1823 -0.1154)
OKLCHoklch(55.69% 0.216 327.7)
XYZxyz(27.2653, 14.7600, 43.5238)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B2 #32B231
analogous
#7131B2 #B131B2 #B23173
triadic
#B131B2 #B2B131 #31B2B1
tetradic
#B131B2 #B27131 #32B231 #3173B2
square
#B131B2 #B27131 #32B231 #3173B2
split-complementary
#B131B2 #73B231 #31B271
monochromatic
#521752 #812482 #B131B2 #CE51CF #DC81DC

Accessibility & contrast

On white

5.31
#B131B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B131B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131B2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B2#FFFFFF#000000##FFFFFF
##B131B21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#B6456F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b131b2;
/* rgb */ color: rgb(177, 49, 178);
/* oklch */ color: oklch(55.7% 0.216 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc76c9',
    500: '#b131b2',
    950: '#000000',
  },
}
SCSS
$custom: #b131b2;
$custom-light: #cc76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b2",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 299.535,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.21577,
    "h": 327.7
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#B131B2
secondary
#7AC579
accent
#E04849
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B131B2

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

Preview Lab → · Contrast checker → · Palette generator →

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