#B142B5#B142B5

#B142B5 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.198 H 326.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B142B5
RGBrgb(177, 66, 181)
HSLhsl(298, 47%, 48%)
HSVhsv(298, 64%, 71%)
CMYKcmyk(2.2%, 63.5%, 0%, 29%)
CIE-LABlab(47.73, 59.66, -39.55)
CIE-LCHlch(47.73, 71.58, 326.46°)
OKLaboklab(57.49% 0.1645 -0.1095)
OKLCHoklch(57.49% 0.198 326.4)
XYZxyz(28.4196, 16.5815, 45.4108)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142B5 #46B542
analogous
#7742B5 #B142B5 #B5427F
triadic
#B142B5 #B5B142 #42B5B1
tetradic
#B142B5 #B57742 #46B542 #427FB5
square
#B142B5 #B57742 #46B542 #427FB5
split-complementary
#B142B5 #7FB542 #42B577
monochromatic
#59215B #853288 #B142B5 #C66BC9 #D798D9

Accessibility & contrast

On white

4.87
#B142B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B142B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142B5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142B5#FFFFFF#000000##FFFFFF
##B142B51.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B8
Deuteranopia (green-blind)
#5A76B2
Tritanopia (blue-blind)
#B65276
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b142b5;
/* rgb */ color: rgb(177, 66, 181);
/* oklch */ color: oklch(57.5% 0.198 326.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ecb',
    500: '#b142b5',
    950: '#000000',
  },
}
SCSS
$custom: #b142b5;
$custom-light: #cb7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#b142b5",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 297.913,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.19758,
    "h": 326.4
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#B142B5
secondary
#8FC58E
accent
#D65256
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B142B5

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

Preview Lab → · Contrast checker → · Palette generator →

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