#B131BB#B131BB

#B131BB is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.223 H 324.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B131BB
RGBrgb(177, 49, 187)
HSLhsl(296, 58%, 46%)
HSVhsv(296, 74%, 73%)
CMYKcmyk(5.3%, 73.8%, 0%, 26.7%)
CIE-LABlab(45.82, 67.03, -46.10)
CIE-LCHlch(45.82, 81.35, 325.48°)
OKLaboklab(56.22% 0.1821 -0.1284)
OKLCHoklch(56.22% 0.223 324.8)
XYZxyz(28.1987, 15.1334, 48.4399)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131BB #3BBB31
analogous
#6C31BB #B131BB #BB3180
triadic
#B131BB #BBB131 #31BBB1
tetradic
#B131BB #BB6C31 #3BBB31 #3180BB
square
#B131BB #BB6C31 #3BBB31 #3180BB
split-complementary
#B131BB #80BB31 #31BB6C
monochromatic
#55185A #83248B #B131BB #CA56D3 #D987E0

Accessibility & contrast

On white

5.22
#B131BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B131BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131BB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131BB#FFFFFF#000000##FFFFFF
##B131BB1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#B54974
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b131bb;
/* rgb */ color: rgb(177, 49, 187);
/* oklch */ color: oklch(56.2% 0.223 324.8);
Tailwind
colors: {
  custom: {
    50: '#cc76d0',
    500: '#b131bb',
    950: '#000000',
  },
}
SCSS
$custom: #b131bb;
$custom-light: #cc76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b131bb",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 295.652,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.22282,
    "h": 324.8
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#B131BB
secondary
#84C97F
accent
#E24651
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B131BB

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

Preview Lab → · Contrast checker → · Palette generator →

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