#B1339F#B1339F

#B1339F is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.8% C 0.199 H 334.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B1339F
RGBrgb(177, 51, 159)
HSLhsl(309, 55%, 45%)
HSVhsv(309, 71%, 69%)
CMYKcmyk(0%, 71.2%, 10.2%, 30.6%)
CIE-LABlab(44.55, 61.81, -31.55)
CIE-LCHlch(44.55, 69.40, 332.96°)
OKLaboklab(54.82% 0.1796 -0.0863)
OKLCHoklch(54.82% 0.199 334.3)
XYZxyz(25.5735, 14.2201, 34.1920)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1339F #33B145
analogous
#8433B1 #B1339F #B13360
triadic
#B1339F #9FB133 #339FB1
tetradic
#B1339F #B18433 #33B145 #3360B1
square
#B1339F #B18433 #33B145 #3360B1
split-complementary
#B1339F #60B133 #33B184
monochromatic
#52184A #812574 #B1339F #CE54BC #DB83CF

Accessibility & contrast

On white

5.46
#B1339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B1339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1339F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1339F#FFFFFF#000000##FFFFFF
##B1339F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#B93E65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b1339f;
/* rgb */ color: rgb(177, 51, 159);
/* oklch */ color: oklch(54.8% 0.199 334.3);
Tailwind
colors: {
  custom: {
    50: '#cc76bb',
    500: '#b1339f',
    950: '#000000',
  },
}
SCSS
$custom: #b1339f;
$custom-light: #cc76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b1339f",
  "rgb": {
    "r": 177,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 308.571,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.19921,
    "h": 334.3
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#B1339F
secondary
#7BC586
accent
#DF5F49
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B1339F

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

Preview Lab → · Contrast checker → · Palette generator →

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