#B142C1#B142C1

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

Color values

HEX#B142C1
RGBrgb(177, 66, 193)
HSLhsl(292, 51%, 51%)
HSVhsv(292, 66%, 76%)
CMYKcmyk(8.3%, 65.8%, 0%, 24.3%)
CIE-LABlab(48.38, 61.81, -45.51)
CIE-LCHlch(48.38, 76.76, 323.64°)
OKLaboklab(58.17% 0.1648 -0.1268)
OKLCHoklch(58.17% 0.208 322.4)
XYZxyz(29.7043, 17.0954, 52.1769)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142C1 #52C142
analogous
#7142C1 #B142C1 #C14291
triadic
#B142C1 #C1B142 #42C1B1
tetradic
#B142C1 #C17142 #52C142 #4291C1
square
#B142C1 #C17142 #52C142 #4291C1
split-complementary
#B142C1 #91C142 #42C171
monochromatic
#5E2267 #883195 #B142C1 #C470D0 #D79EDF

Accessibility & contrast

On white

4.75
#B142C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B142C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142C1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142C1#FFFFFF#000000##FFFFFF
##B142C11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC5
Deuteranopia (green-blind)
#5377BE
Tritanopia (blue-blind)
#B3577C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b142c1;
/* rgb */ color: rgb(177, 66, 193);
/* oklch */ color: oklch(58.2% 0.208 322.4);
Tailwind
colors: {
  custom: {
    50: '#cc7fd4',
    500: '#b142c1',
    950: '#000000',
  },
}
SCSS
$custom: #b142c1;
$custom-light: #cc7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b142c1",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 292.441,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.20792,
    "h": 322.4
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#B142C1
secondary
#9ACC93
accent
#DA4E5F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B142C1

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

Preview Lab → · Contrast checker → · Palette generator →

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