#B131AF#B131AF

#B131AF is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.213 H 328.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B131AF
RGBrgb(177, 49, 175)
HSLhsl(301, 57%, 44%)
HSVhsv(301, 72%, 69%)
CMYKcmyk(0%, 72.3%, 1.1%, 30.6%)
CIE-LABlab(45.14, 65.02, -40.12)
CIE-LCHlch(45.14, 76.41, 328.32°)
OKLaboklab(55.52% 0.1823 -0.111)
OKLCHoklch(55.52% 0.213 328.7)
XYZxyz(26.9674, 14.6409, 41.9547)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131AF #31B133
analogous
#7331B1 #B131AF #B1316F
triadic
#B131AF #AFB131 #31AFB1
tetradic
#B131AF #B17331 #31B133 #316FB1
square
#B131AF #B17331 #31B133 #316FB1
split-complementary
#B131AF #6FB131 #31B173
monochromatic
#511650 #812480 #B131AF #CF51CD #DC80DB

Accessibility & contrast

On white

5.35
#B131AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B131AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131AF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131AF#FFFFFF#000000##FFFFFF
##B131AF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#B7446D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b131af;
/* rgb */ color: rgb(177, 49, 175);
/* oklch */ color: oklch(55.5% 0.213 328.7);
Tailwind
colors: {
  custom: {
    50: '#cc76c7',
    500: '#b131af',
    950: '#000000',
  },
}
SCSS
$custom: #b131af;
$custom-light: #cc76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b131af",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 300.938,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.21345,
    "h": 328.7
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#B131AF
secondary
#79C57A
accent
#E04A48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B131AF

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

Preview Lab → · Contrast checker → · Palette generator →

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