#B142B9#B142B9

#B142B9 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.201 H 325.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B142B9
RGBrgb(177, 66, 185)
HSLhsl(296, 47%, 49%)
HSVhsv(296, 64%, 73%)
CMYKcmyk(4.3%, 64.3%, 0%, 27.5%)
CIE-LABlab(47.94, 60.36, -41.55)
CIE-LCHlch(47.94, 73.28, 325.46°)
OKLaboklab(57.71% 0.1646 -0.1153)
OKLCHoklch(57.71% 0.201 325)
XYZxyz(28.8360, 16.7481, 47.6034)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142B9 #4AB942
analogous
#7642B9 #B142B9 #B94286
triadic
#B142B9 #B9B142 #42B9B1
tetradic
#B142B9 #B97642 #4AB942 #4286B9
square
#B142B9 #B97642 #4AB942 #4286B9
split-complementary
#B142B9 #86B942 #42B976
monochromatic
#5B225F #86328C #B142B9 #C56DCB #D79ADB

Accessibility & contrast

On white

4.83
#B142B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B142B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142B9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142B9#FFFFFF#000000##FFFFFF
##B142B91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BD
Deuteranopia (green-blind)
#5876B6
Tritanopia (blue-blind)
#B55478
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b142b9;
/* rgb */ color: rgb(177, 66, 185);
/* oklch */ color: oklch(57.7% 0.201 325.0);
Tailwind
colors: {
  custom: {
    50: '#cb7ece',
    500: '#b142b9',
    950: '#000000',
  },
}
SCSS
$custom: #b142b9;
$custom-light: #cb7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#b142b9",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 295.966,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.20099,
    "h": 325
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#B142B9
secondary
#93C790
accent
#D7515A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B142B9

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

Preview Lab → · Contrast checker → · Palette generator →

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