#B142BE#B142BE

#B142BE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.205 H 323.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B142BE
RGBrgb(177, 66, 190)
HSLhsl(294, 49%, 50%)
HSVhsv(294, 65%, 75%)
CMYKcmyk(6.8%, 65.3%, 0%, 25.5%)
CIE-LABlab(48.21, 61.26, -44.03)
CIE-LCHlch(48.21, 75.44, 324.29°)
OKLaboklab(57.99% 0.1648 -0.1225)
OKLCHoklch(57.99% 0.205 323.4)
XYZxyz(29.3731, 16.9629, 50.4322)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142BE #4FBE42
analogous
#7342BE #B142BE #BE428D
triadic
#B142BE #BEB142 #42BEB1
tetradic
#B142BE #BE7342 #4FBE42 #428DBE
square
#B142BE #BE7342 #4FBE42 #428DBE
split-complementary
#B142BE #8DBE42 #42BE73
monochromatic
#5D2263 #873291 #B142BE #C470CE #D79DDD

Accessibility & contrast

On white

4.78
#B142BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B142BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142BE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142BE#FFFFFF#000000##FFFFFF
##B142BE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC2
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#B4567A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b142be;
/* rgb */ color: rgb(177, 66, 190);
/* oklch */ color: oklch(58.0% 0.205 323.4);
Tailwind
colors: {
  custom: {
    50: '#cc7fd2',
    500: '#b142be',
    950: '#000000',
  },
}
SCSS
$custom: #b142be;
$custom-light: #cc7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b142be",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 293.71,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.20531,
    "h": 323.4
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#B142BE
secondary
#98CA92
accent
#D84F5E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B142BE

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

Preview Lab → · Contrast checker → · Palette generator →

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