#B131BA#B131BA

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

Color values

HEX#B131BA
RGBrgb(177, 49, 186)
HSLhsl(296, 58%, 46%)
HSVhsv(296, 74%, 73%)
CMYKcmyk(4.8%, 73.7%, 0%, 27.1%)
CIE-LABlab(45.76, 66.86, -45.61)
CIE-LCHlch(45.76, 80.93, 325.70°)
OKLaboklab(56.16% 0.1821 -0.127)
OKLCHoklch(56.16% 0.222 325.1)
XYZxyz(28.0920, 15.0907, 47.8780)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131BA #3ABA31
analogous
#6C31BA #B131BA #BA317E
triadic
#B131BA #BAB131 #31BAB1
tetradic
#B131BA #BA6C31 #3ABA31 #317EBA
square
#B131BA #BA6C31 #3ABA31 #317EBA
split-complementary
#B131BA #7EBA31 #31BA6C
monochromatic
#551759 #83248A #B131BA #CA56D2 #D986DF

Accessibility & contrast

On white

5.23
#B131BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B131BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131BA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131BA#FFFFFF#000000##FFFFFF
##B131BA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#B54973
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b131ba;
/* rgb */ color: rgb(177, 49, 186);
/* oklch */ color: oklch(56.2% 0.222 325.1);
Tailwind
colors: {
  custom: {
    50: '#cc76cf',
    500: '#b131ba',
    950: '#000000',
  },
}
SCSS
$custom: #b131ba;
$custom-light: #cc76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b131ba",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 296.058,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.22203,
    "h": 325.1
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#B131BA
secondary
#83C97E
accent
#E24650
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B131BA

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

Preview Lab → · Contrast checker → · Palette generator →

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