#B131C8#B131C8

#B131C8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.233 H 321.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B131C8
RGBrgb(177, 49, 200)
HSLhsl(291, 61%, 49%)
HSVhsv(291, 76%, 78%)
CMYKcmyk(11.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(46.60, 69.30, -52.41)
CIE-LCHlch(46.60, 86.88, 322.90°)
OKLaboklab(57.03% 0.1812 -0.1468)
OKLCHoklch(57.03% 0.233 321)
XYZxyz(29.6539, 15.7155, 56.1038)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131C8 #48C831
analogous
#6631C8 #B131C8 #C83194
triadic
#B131C8 #C8B131 #31C8B1
tetradic
#B131C8 #C86631 #48C831 #3194C8
square
#B131C8 #C86631 #48C831 #3194C8
split-complementary
#B131C8 #94C831 #31C866
monochromatic
#5A1966 #852597 #B131C8 #C55FD8 #D790E4

Accessibility & contrast

On white

5.07
#B131C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B131C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131C8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131C8#FFFFFF#000000##FFFFFF
##B131C81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#4373C5
Tritanopia (blue-blind)
#B2507B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b131c8;
/* rgb */ color: rgb(177, 49, 200);
/* oklch */ color: oklch(57.0% 0.233 321.0);
Tailwind
colors: {
  custom: {
    50: '#cc77d9',
    500: '#b131c8',
    950: '#000000',
  },
}
SCSS
$custom: #b131c8;
$custom-light: #cc77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b131c8",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 290.861,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.23324,
    "h": 321
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#B131C8
secondary
#91CE86
accent
#E4445C
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B131C8

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

Preview Lab → · Contrast checker → · Palette generator →

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