#B142C3#B142C3

#B142C3 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.210 H 321.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B142C3
RGBrgb(177, 66, 195)
HSLhsl(292, 52%, 51%)
HSVhsv(292, 66%, 76%)
CMYKcmyk(9.2%, 66.2%, 0%, 23.5%)
CIE-LABlab(48.49, 62.18, -46.49)
CIE-LCHlch(48.49, 77.63, 323.22°)
OKLaboklab(58.29% 0.1648 -0.1297)
OKLCHoklch(58.29% 0.21 321.8)
XYZxyz(29.9289, 17.1853, 53.3598)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142C3 #54C342
analogous
#7042C3 #B142C3 #C34294
triadic
#B142C3 #C3B142 #42C3B1
tetradic
#B142C3 #C37042 #54C342 #4294C3
square
#B142C3 #C37042 #54C342 #4294C3
split-complementary
#B142C3 #94C342 #42C370
monochromatic
#5F2169 #893098 #B142C3 #C470D2 #D79FE0

Accessibility & contrast

On white

4.73
#B142C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B142C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142C3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142C3#FFFFFF#000000##FFFFFF
##B142C31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC7
Deuteranopia (green-blind)
#5277C0
Tritanopia (blue-blind)
#B3587D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b142c3;
/* rgb */ color: rgb(177, 66, 195);
/* oklch */ color: oklch(58.3% 0.210 321.8);
Tailwind
colors: {
  custom: {
    50: '#cc7fd6',
    500: '#b142c3',
    950: '#000000',
  },
}
SCSS
$custom: #b142c3;
$custom-light: #cc7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b142c3",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 291.628,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.20967,
    "h": 321.8
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B142C3

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

Preview Lab → · Contrast checker → · Palette generator →

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