#B131B5#B131B5

#B131B5 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.218 H 326.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B131B5
RGBrgb(177, 49, 181)
HSLhsl(298, 57%, 45%)
HSVhsv(298, 73%, 71%)
CMYKcmyk(2.2%, 72.9%, 0%, 29%)
CIE-LABlab(45.47, 66.02, -43.13)
CIE-LCHlch(45.47, 78.86, 326.84°)
OKLaboklab(55.86% 0.1823 -0.1197)
OKLCHoklch(55.86% 0.218 326.7)
XYZxyz(27.5698, 14.8818, 45.1275)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B5 #35B531
analogous
#6F31B5 #B131B5 #B53177
triadic
#B131B5 #B5B131 #31B5B1
tetradic
#B131B5 #B56F31 #35B531 #3177B5
square
#B131B5 #B56F31 #35B531 #3177B5
split-complementary
#B131B5 #77B531 #31B56F
monochromatic
#531755 #822485 #B131B5 #CD53D0 #DB83DD

Accessibility & contrast

On white

5.28
#B131B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B131B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131B5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B5#FFFFFF#000000##FFFFFF
##B131B51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F61B9
Deuteranopia (green-blind)
#5171B2
Tritanopia (blue-blind)
#B64771
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b131b5;
/* rgb */ color: rgb(177, 49, 181);
/* oklch */ color: oklch(55.9% 0.218 326.7);
Tailwind
colors: {
  custom: {
    50: '#cc76cc',
    500: '#b131b5',
    950: '#000000',
  },
}
SCSS
$custom: #b131b5;
$custom-light: #cc76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b5",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 298.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.2181,
    "h": 326.7
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#B131B5
secondary
#7DC77B
accent
#E1474C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B131B5

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

Preview Lab → · Contrast checker → · Palette generator →

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