#B142C5#B142C5

#B142C5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.211 H 321.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B142C5
RGBrgb(177, 66, 197)
HSLhsl(291, 53%, 52%)
HSVhsv(291, 66%, 77%)
CMYKcmyk(10.2%, 66.5%, 0%, 22.7%)
CIE-LABlab(48.61, 62.55, -47.46)
CIE-LCHlch(48.61, 78.52, 322.81°)
OKLaboklab(58.4% 0.1648 -0.1325)
OKLCHoklch(58.4% 0.211 321.2)
XYZxyz(30.1566, 17.2763, 54.5587)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142C5 #56C542
analogous
#7042C5 #B142C5 #C54297
triadic
#B142C5 #C5B142 #42C5B1
tetradic
#B142C5 #C57042 #56C542 #4297C5
square
#B142C5 #C57042 #56C542 #4297C5
split-complementary
#B142C5 #97C542 #42C570
monochromatic
#60216C #8A2F9A #B142C5 #C471D3 #D8A0E2

Accessibility & contrast

On white

4.71
#B142C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B142C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142C5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142C5#FFFFFF#000000##FFFFFF
##B142C51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196CC9
Deuteranopia (green-blind)
#5078C2
Tritanopia (blue-blind)
#B3587E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b142c5;
/* rgb */ color: rgb(177, 66, 197);
/* oklch */ color: oklch(58.4% 0.211 321.2);
Tailwind
colors: {
  custom: {
    50: '#cc7fd7',
    500: '#b142c5',
    950: '#000000',
  },
}
SCSS
$custom: #b142c5;
$custom-light: #cc7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#b142c5",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 290.84,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58404,
    "c": 0.21142,
    "h": 321.2
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#B142C5
secondary
#9DCE95
accent
#DC4B62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B142C5

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

Preview Lab → · Contrast checker → · Palette generator →

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