#B142BF#B142BF

#B142BF is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.206 H 323.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B142BF
RGBrgb(177, 66, 191)
HSLhsl(293, 49%, 50%)
HSVhsv(293, 65%, 75%)
CMYKcmyk(7.3%, 65.4%, 0%, 25.1%)
CIE-LABlab(48.27, 61.44, -44.52)
CIE-LCHlch(48.27, 75.88, 324.07°)
OKLaboklab(58.05% 0.1648 -0.1239)
OKLCHoklch(58.05% 0.206 323.1)
XYZxyz(29.4827, 17.0068, 51.0098)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142BF #50BF42
analogous
#7242BF #B142BF #BF428E
triadic
#B142BF #BFB142 #42BFB1
tetradic
#B142BF #BF7242 #50BF42 #428EBF
square
#B142BF #BF7242 #50BF42 #428EBF
split-complementary
#B142BF #8EBF42 #42BF72
monochromatic
#5D2265 #873292 #B142BF #C470CE #D79DDE

Accessibility & contrast

On white

4.77
#B142BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B142BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142BF#FFFFFF#000000##FFFFFF
##B142BF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC3
Deuteranopia (green-blind)
#5477BC
Tritanopia (blue-blind)
#B4567B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b142bf;
/* rgb */ color: rgb(177, 66, 191);
/* oklch */ color: oklch(58.1% 0.206 323.1);
Tailwind
colors: {
  custom: {
    50: '#cc7fd3',
    500: '#b142bf',
    950: '#000000',
  },
}
SCSS
$custom: #b142bf;
$custom-light: #cc7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b142bf",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 293.28,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.20617,
    "h": 323.1
  },
  "luminance": 0.17005
}

Semantic roles & 50–950 ramp

primary
#B142BF
secondary
#99CA93
accent
#D94F5E
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B142BF

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

Preview Lab → · Contrast checker → · Palette generator →

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