#B131D0#B131D0

#B131D0 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.240 H 318.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B131D0
RGBrgb(177, 49, 208)
HSLhsl(288, 63%, 50%)
HSVhsv(288, 76%, 82%)
CMYKcmyk(14.9%, 76.4%, 0%, 18.4%)
CIE-LABlab(47.10, 70.73, -56.22)
CIE-LCHlch(47.10, 90.35, 321.52°)
OKLaboklab(57.55% 0.1803 -0.158)
OKLCHoklch(57.55% 0.24 318.8)
XYZxyz(30.6134, 16.0993, 61.1572)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131D0 #50D031
analogous
#6131D0 #B131D0 #D0319F
triadic
#B131D0 #D0B131 #31D0B1
tetradic
#B131D0 #D06131 #50D031 #319FD0
square
#B131D0 #D06131 #50D031 #319FD0
split-complementary
#B131D0 #9FD031 #31D061
monochromatic
#5D196E #87249F #B131D0 #C463DB #D795E7

Accessibility & contrast

On white

4.98
#B131D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B131D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131D0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131D0#FFFFFF#000000##FFFFFF
##B131D01.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#B05380
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b131d0;
/* rgb */ color: rgb(177, 49, 208);
/* oklch */ color: oklch(57.5% 0.240 318.8);
Tailwind
colors: {
  custom: {
    50: '#cd77df',
    500: '#b131d0',
    950: '#000000',
  },
}
SCSS
$custom: #b131d0;
$custom-light: #cd77df;
$custom-dark: #000000;
JSON
{
  "hex": "#b131d0",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 288.302,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.23975,
    "h": 318.8
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#B131D0
secondary
#99D28B
accent
#E64262
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B131D0

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

Preview Lab → · Contrast checker → · Palette generator →

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