#B142C6#B142C6

#B142C6 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.212 H 320.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B142C6
RGBrgb(177, 66, 198)
HSLhsl(290, 54%, 52%)
HSVhsv(290, 67%, 78%)
CMYKcmyk(10.6%, 66.7%, 0%, 22.4%)
CIE-LABlab(48.66, 62.73, -47.95)
CIE-LCHlch(48.66, 78.96, 322.61°)
OKLaboklab(58.46% 0.1647 -0.1339)
OKLCHoklch(58.46% 0.212 320.9)
XYZxyz(30.2715, 17.3223, 55.1642)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142C6 #57C642
analogous
#6F42C6 #B142C6 #C64299
triadic
#B142C6 #C6B142 #42C6B1
tetradic
#B142C6 #C66F42 #57C642 #4299C6
square
#B142C6 #C66F42 #57C642 #4299C6
split-complementary
#B142C6 #99C642 #42C66F
monochromatic
#61216D #8A2F9C #B142C6 #C471D4 #D8A0E2

Accessibility & contrast

On white

4.70
#B142C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B142C6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142C6#FFFFFF#000000##FFFFFF
##B142C61.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176CCA
Deuteranopia (green-blind)
#5078C3
Tritanopia (blue-blind)
#B2597F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b142c6;
/* rgb */ color: rgb(177, 66, 198);
/* oklch */ color: oklch(58.5% 0.212 320.9);
Tailwind
colors: {
  custom: {
    50: '#cc7fd8',
    500: '#b142c6',
    950: '#000000',
  },
}
SCSS
$custom: #b142c6;
$custom-light: #cc7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b142c6",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 290.455,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.21231,
    "h": 320.9
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#B142C6
secondary
#9ECF95
accent
#DD4B62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B142C6

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

Preview Lab → · Contrast checker → · Palette generator →

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