#B131A7#B131A7

#B131A7 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.207 H 331.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B131A7
RGBrgb(177, 49, 167)
HSLhsl(305, 57%, 44%)
HSVhsv(305, 72%, 69%)
CMYKcmyk(0%, 72.3%, 5.6%, 30.6%)
CIE-LABlab(44.71, 63.74, -36.06)
CIE-LCHlch(44.71, 73.23, 330.50°)
OKLaboklab(55.07% 0.1821 -0.0993)
OKLCHoklch(55.07% 0.207 331.4)
XYZxyz(26.2048, 14.3358, 37.9387)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131A7 #31B13B
analogous
#7B31B1 #B131A7 #B13167
triadic
#B131A7 #A7B131 #31A7B1
tetradic
#B131A7 #B17B31 #31B13B #3167B1
square
#B131A7 #B17B31 #31B13B #3167B1
split-complementary
#B131A7 #67B131 #31B17B
monochromatic
#51164D #81247A #B131A7 #CF51C5 #DC80D5

Accessibility & contrast

On white

5.43
#B131A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B131A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131A7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131A7#FFFFFF#000000##FFFFFF
##B131A71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EAA
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#B84069
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b131a7;
/* rgb */ color: rgb(177, 49, 167);
/* oklch */ color: oklch(55.1% 0.207 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc76c1',
    500: '#b131a7',
    950: '#000000',
  },
}
SCSS
$custom: #b131a7;
$custom-light: #cc76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b131a7",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 304.688,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.2074,
    "h": 331.4
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#B131A7
secondary
#79C57F
accent
#E05448
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B131A7

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

Preview Lab → · Contrast checker → · Palette generator →

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