#B131C2#B131C2

#B131C2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.228 H 322.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B131C2
RGBrgb(177, 49, 194)
HSLhsl(293, 60%, 48%)
HSVhsv(293, 75%, 76%)
CMYKcmyk(8.8%, 74.7%, 0%, 23.9%)
CIE-LABlab(46.23, 68.24, -49.52)
CIE-LCHlch(46.23, 84.31, 324.03°)
OKLaboklab(56.65% 0.1817 -0.1384)
OKLCHoklch(56.65% 0.228 322.7)
XYZxyz(28.9664, 15.4405, 52.4831)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131C2 #42C231
analogous
#6931C2 #B131C2 #C2318A
triadic
#B131C2 #C2B131 #31C2B1
tetradic
#B131C2 #C26931 #42C231 #318AC2
square
#B131C2 #C26931 #42C231 #318AC2
split-complementary
#B131C2 #8AC231 #31C269
monochromatic
#581860 #842591 #B131C2 #C75BD6 #D88CE2

Accessibility & contrast

On white

5.14
#B131C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B131C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131C2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131C2#FFFFFF#000000##FFFFFF
##B131C21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#4872BF
Tritanopia (blue-blind)
#B34D78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b131c2;
/* rgb */ color: rgb(177, 49, 194);
/* oklch */ color: oklch(56.6% 0.228 322.7);
Tailwind
colors: {
  custom: {
    50: '#cc77d5',
    500: '#b131c2',
    950: '#000000',
  },
}
SCSS
$custom: #b131c2;
$custom-light: #cc77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b131c2",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 292.966,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.22839,
    "h": 322.7
  },
  "luminance": 0.15439
}

Semantic roles & 50–950 ramp

primary
#B131C2
secondary
#8BCC83
accent
#E34557
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B131C2

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

Preview Lab → · Contrast checker → · Palette generator →

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