#B142B2#B142B2

#B142B2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.195 H 327.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B142B2
RGBrgb(177, 66, 178)
HSLhsl(299, 46%, 48%)
HSVhsv(299, 63%, 70%)
CMYKcmyk(0.6%, 62.9%, 0%, 30.2%)
CIE-LABlab(47.57, 59.13, -38.04)
CIE-LCHlch(47.57, 70.31, 327.25°)
OKLaboklab(57.32% 0.1643 -0.1051)
OKLCHoklch(57.32% 0.195 327.4)
XYZxyz(28.1151, 16.4597, 43.8070)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142B2 #43B242
analogous
#7942B2 #B142B2 #B2427B
triadic
#B142B2 #B2B142 #42B2B1
tetradic
#B142B2 #B27942 #43B242 #427BB2
square
#B142B2 #B27942 #43B242 #427BB2
split-complementary
#B142B2 #7BB242 #42B279
monochromatic
#582159 #853185 #B142B2 #C76AC8 #D896D8

Accessibility & contrast

On white

4.89
#B142B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B142B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142B2#FFFFFF#000000##FFFFFF
##B142B21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#B65174
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b142b2;
/* rgb */ color: rgb(177, 66, 178);
/* oklch */ color: oklch(57.3% 0.195 327.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ec9',
    500: '#b142b2',
    950: '#000000',
  },
}
SCSS
$custom: #b142b2;
$custom-light: #cb7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b142b2",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 299.464,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.19505,
    "h": 327.4
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#B142B2
secondary
#8CC48C
accent
#D65253
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B142B2

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

Preview Lab → · Contrast checker → · Palette generator →

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