#B142C8#B142C8

#B142C8 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.214 H 320.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B142C8
RGBrgb(177, 66, 200)
HSLhsl(290, 55%, 52%)
HSVhsv(290, 67%, 78%)
CMYKcmyk(11.5%, 67%, 0%, 21.6%)
CIE-LABlab(48.78, 63.11, -48.92)
CIE-LCHlch(48.78, 79.85, 322.22°)
OKLaboklab(58.58% 0.1647 -0.1368)
OKLCHoklch(58.58% 0.214 320.3)
XYZxyz(30.5037, 17.4152, 56.3871)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142C8 #59C842
analogous
#6E42C8 #B142C8 #C8429C
triadic
#B142C8 #C8B142 #42C8B1
tetradic
#B142C8 #C86E42 #59C842 #429CC8
square
#B142C8 #C86E42 #59C842 #429CC8
split-complementary
#B142C8 #9CC842 #42C86E
monochromatic
#62206F #8B2E9F #B142C8 #C571D6 #D8A1E4

Accessibility & contrast

On white

4.68
#B142C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B142C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142C8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142C8#FFFFFF#000000##FFFFFF
##B142C81.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126CCC
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#B25A80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b142c8;
/* rgb */ color: rgb(177, 66, 200);
/* oklch */ color: oklch(58.6% 0.214 320.3);
Tailwind
colors: {
  custom: {
    50: '#cc7fd9',
    500: '#b142c8',
    950: '#000000',
  },
}
SCSS
$custom: #b142c8;
$custom-light: #cc7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b142c8",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 289.701,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.21407,
    "h": 320.3
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#B142C8
secondary
#A0D096
accent
#DE4A63
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B142C8

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

Preview Lab → · Contrast checker → · Palette generator →

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