#B142B3#B142B3

#B142B3 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.196 H 327.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B142B3
RGBrgb(177, 66, 179)
HSLhsl(299, 46%, 48%)
HSVhsv(299, 63%, 70%)
CMYKcmyk(1.1%, 63.1%, 0%, 29.8%)
CIE-LABlab(47.62, 59.31, -38.54)
CIE-LCHlch(47.62, 70.73, 326.98°)
OKLaboklab(57.38% 0.1644 -0.1066)
OKLCHoklch(57.38% 0.196 327)
XYZxyz(28.2159, 16.5000, 44.3377)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142B3 #44B342
analogous
#7842B3 #B142B3 #B3427C
triadic
#B142B3 #B3B142 #42B3B1
tetradic
#B142B3 #B37842 #44B342 #427CB3
square
#B142B3 #B37842 #44B342 #427CB3
split-complementary
#B142B3 #7CB342 #42B378
monochromatic
#59215A #853286 #B142B3 #C66AC8 #D797D9

Accessibility & contrast

On white

4.88
#B142B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B142B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142B3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142B3#FFFFFF#000000##FFFFFF
##B142B31.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#B65175
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b142b3;
/* rgb */ color: rgb(177, 66, 179);
/* oklch */ color: oklch(57.4% 0.196 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb7eca',
    500: '#b142b3',
    950: '#000000',
  },
}
SCSS
$custom: #b142b3;
$custom-light: #cb7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#b142b3",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 298.938,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.19589,
    "h": 327
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#B142B3
secondary
#8DC48C
accent
#D65254
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B142B3

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

Preview Lab → · Contrast checker → · Palette generator →

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