#B131B6#B131B6

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

Color values

HEX#B131B6
RGBrgb(177, 49, 182)
HSLhsl(298, 58%, 45%)
HSVhsv(298, 73%, 71%)
CMYKcmyk(2.7%, 73.1%, 0%, 28.6%)
CIE-LABlab(45.53, 66.18, -43.63)
CIE-LCHlch(45.53, 79.27, 326.61°)
OKLaboklab(55.92% 0.1823 -0.1212)
OKLCHoklch(55.92% 0.219 326.4)
XYZxyz(27.6728, 14.9230, 45.6698)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B6 #36B631
analogous
#6E31B6 #B131B6 #B63179
triadic
#B131B6 #B6B131 #31B6B1
tetradic
#B131B6 #B66E31 #36B631 #3179B6
square
#B131B6 #B66E31 #36B631 #3179B6
split-complementary
#B131B6 #79B631 #31B66E
monochromatic
#531756 #822486 #B131B6 #CC53D1 #DA84DE

Accessibility & contrast

On white

5.27
#B131B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B131B6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B6#FFFFFF#000000##FFFFFF
##B131B61.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b131b6;
/* rgb */ color: rgb(177, 49, 182);
/* oklch */ color: oklch(55.9% 0.219 326.4);
Tailwind
colors: {
  custom: {
    50: '#cc76cc',
    500: '#b131b6',
    950: '#000000',
  },
}
SCSS
$custom: #b131b6;
$custom-light: #cc76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b6",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 297.744,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.21889,
    "h": 326.4
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#B131B6
secondary
#7FC77C
accent
#E1474D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B131B6

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

Preview Lab → · Contrast checker → · Palette generator →

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