#B1279D#B1279D

#B1279D is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.210 H 334.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B1279D
RGBrgb(177, 39, 157)
HSLhsl(309, 64%, 42%)
HSVhsv(309, 78%, 69%)
CMYKcmyk(0%, 78%, 11.3%, 30.6%)
CIE-LABlab(43.11, 65.31, -32.60)
CIE-LCHlch(43.11, 73.00, 333.47°)
OKLaboklab(53.76% 0.1906 -0.0892)
OKLCHoklch(53.76% 0.21 334.9)
XYZxyz(24.9431, 13.2347, 33.1326)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1279D #27B13B
analogous
#8027B1 #B1279D #B12758
triadic
#B1279D #9DB127 #279DB1
tetradic
#B1279D #B18027 #27B13B #2758B1
square
#B1279D #B18027 #27B13B #2758B1
split-complementary
#B1279D #58B127 #27B180
monochromatic
#4D1144 #7F1C71 #B1279D #D540BF #E072D0

Accessibility & contrast

On white

5.76
#B1279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B1279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1279D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1279D#FFFFFF#000000##FFFFFF
##B1279D1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#BA3461
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b1279d;
/* rgb */ color: rgb(177, 39, 157);
/* oklch */ color: oklch(53.8% 0.210 334.9);
Tailwind
colors: {
  custom: {
    50: '#cc71ba',
    500: '#b1279d',
    950: '#000000',
  },
}
SCSS
$custom: #b1279d;
$custom-light: #cc71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b1279d",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 308.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.21047,
    "h": 334.9
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#B1279D
secondary
#6DC77A
accent
#E75941
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B1279D

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

Preview Lab → · Contrast checker → · Palette generator →

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