#B131BF#B131BF

#B131BF is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.226 H 323.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B131BF
RGBrgb(177, 49, 191)
HSLhsl(294, 59%, 47%)
HSVhsv(294, 74%, 75%)
CMYKcmyk(7.3%, 74.3%, 0%, 25.1%)
CIE-LABlab(46.05, 67.72, -48.06)
CIE-LCHlch(46.05, 83.04, 324.64°)
OKLaboklab(56.46% 0.1819 -0.1341)
OKLCHoklch(56.46% 0.226 323.6)
XYZxyz(28.6329, 15.3071, 50.7265)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131BF #3FBF31
analogous
#6A31BF #B131BF #BF3186
triadic
#B131BF #BFB131 #31BFB1
tetradic
#B131BF #BF6A31 #3FBF31 #3186BF
square
#B131BF #BF6A31 #3FBF31 #3186BF
split-complementary
#B131BF #86BF31 #31BF6A
monochromatic
#57185E #84258E #B131BF #C859D4 #D88AE1

Accessibility & contrast

On white

5.17
#B131BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B131BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131BF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131BF#FFFFFF#000000##FFFFFF
##B131BF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#4A72BC
Tritanopia (blue-blind)
#B44B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b131bf;
/* rgb */ color: rgb(177, 49, 191);
/* oklch */ color: oklch(56.5% 0.226 323.6);
Tailwind
colors: {
  custom: {
    50: '#cc77d3',
    500: '#b131bf',
    950: '#000000',
  },
}
SCSS
$custom: #b131bf;
$custom-light: #cc77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b131bf",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 294.085,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.226,
    "h": 323.6
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#B131BF
secondary
#88CB81
accent
#E24555
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B131BF

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

Preview Lab → · Contrast checker → · Palette generator →

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