#B142C2#B142C2

#B142C2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.209 H 322.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B142C2
RGBrgb(177, 66, 194)
HSLhsl(292, 51%, 51%)
HSVhsv(292, 66%, 76%)
CMYKcmyk(8.8%, 66%, 0%, 23.9%)
CIE-LABlab(48.44, 61.99, -46.00)
CIE-LCHlch(48.44, 77.19, 323.43°)
OKLaboklab(58.23% 0.1648 -0.1282)
OKLCHoklch(58.23% 0.209 322.1)
XYZxyz(29.8163, 17.1402, 52.7663)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142C2 #53C242
analogous
#7142C2 #B142C2 #C24293
triadic
#B142C2 #C2B142 #42C2B1
tetradic
#B142C2 #C27142 #53C242 #4293C2
square
#B142C2 #C27142 #53C242 #4293C2
split-complementary
#B142C2 #93C242 #42C271
monochromatic
#5F2268 #893196 #B142C2 #C470D1 #D79FE0

Accessibility & contrast

On white

4.74
#B142C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B142C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142C2#FFFFFF#000000##FFFFFF
##B142C21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#B3577D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b142c2;
/* rgb */ color: rgb(177, 66, 194);
/* oklch */ color: oklch(58.2% 0.209 322.1);
Tailwind
colors: {
  custom: {
    50: '#cc7fd5',
    500: '#b142c2',
    950: '#000000',
  },
}
SCSS
$custom: #b142c2;
$custom-light: #cc7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b142c2",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 292.031,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.2088,
    "h": 322.1
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#B142C2
secondary
#9BCC94
accent
#DB4D60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B142C2

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

Preview Lab → · Contrast checker → · Palette generator →

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