#B142C0#B142C0

#B142C0 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.207 H 322.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B142C0
RGBrgb(177, 66, 192)
HSLhsl(293, 50%, 51%)
HSVhsv(293, 66%, 75%)
CMYKcmyk(7.8%, 65.6%, 0%, 24.7%)
CIE-LABlab(48.32, 61.63, -45.02)
CIE-LCHlch(48.32, 76.32, 323.85°)
OKLaboklab(58.11% 0.1648 -0.1254)
OKLCHoklch(58.11% 0.207 322.7)
XYZxyz(29.5932, 17.0509, 51.5914)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142C0 #51C042
analogous
#7242C0 #B142C0 #C04290
triadic
#B142C0 #C0B142 #42C0B1
tetradic
#B142C0 #C07242 #51C042 #4290C0
square
#B142C0 #C07242 #51C042 #4290C0
split-complementary
#B142C0 #90C042 #42C072
monochromatic
#5E2266 #883194 #B142C0 #C470CF #D79EDF

Accessibility & contrast

On white

4.76
#B142C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B142C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142C0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142C0#FFFFFF#000000##FFFFFF
##B142C01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC4
Deuteranopia (green-blind)
#5477BD
Tritanopia (blue-blind)
#B3567C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b142c0;
/* rgb */ color: rgb(177, 66, 192);
/* oklch */ color: oklch(58.1% 0.207 322.7);
Tailwind
colors: {
  custom: {
    50: '#cc7fd3',
    500: '#b142c0',
    950: '#000000',
  },
}
SCSS
$custom: #b142c0;
$custom-light: #cc7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b142c0",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 292.857,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.20704,
    "h": 322.7
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B142C0

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

Preview Lab → · Contrast checker → · Palette generator →

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