#B142BD#B142BD

#B142BD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.204 H 323.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B142BD
RGBrgb(177, 66, 189)
HSLhsl(294, 48%, 50%)
HSVhsv(294, 65%, 74%)
CMYKcmyk(6.3%, 65.1%, 0%, 25.9%)
CIE-LABlab(48.16, 61.08, -43.54)
CIE-LCHlch(48.16, 75.01, 324.52°)
OKLaboklab(57.94% 0.1647 -0.1211)
OKLCHoklch(57.94% 0.204 323.7)
XYZxyz(29.2642, 16.9193, 49.8586)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142BD #4EBD42
analogous
#7342BD #B142BD #BD428C
triadic
#B142BD #BDB142 #42BDB1
tetradic
#B142BD #BD7342 #4EBD42 #428CBD
square
#B142BD #BD7342 #4EBD42 #428CBD
split-complementary
#B142BD #8CBD42 #42BD73
monochromatic
#5C2262 #873290 #B142BD #C46FCD #D69DDD

Accessibility & contrast

On white

4.79
#B142BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B142BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142BD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142BD#FFFFFF#000000##FFFFFF
##B142BD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC1
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#B4557A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b142bd;
/* rgb */ color: rgb(177, 66, 189);
/* oklch */ color: oklch(57.9% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#cc7fd1',
    500: '#b142bd',
    950: '#000000',
  },
}
SCSS
$custom: #b142bd;
$custom-light: #cc7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b142bd",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 294.146,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.20444,
    "h": 323.7
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#B142BD
secondary
#97C992
accent
#D8505D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B142BD

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

Preview Lab → · Contrast checker → · Palette generator →

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