#B142B1#B142B1

#B142B1 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.3% C 0.194 H 327.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B142B1
RGBrgb(177, 66, 177)
HSLhsl(300, 46%, 48%)
HSVhsv(300, 63%, 69%)
CMYKcmyk(0%, 62.7%, 0%, 30.6%)
CIE-LABlab(47.52, 58.96, -37.53)
CIE-LCHlch(47.52, 69.89, 327.52°)
OKLaboklab(57.27% 0.1643 -0.1036)
OKLCHoklch(57.27% 0.194 327.7)
XYZxyz(28.0151, 16.4197, 43.2802)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142B1 #42B142
analogous
#7942B1 #B142B1 #B14279
triadic
#B142B1 #B1B142 #42B1B1
tetradic
#B142B1 #B17942 #42B142 #4279B1
square
#B142B1 #B17942 #42B142 #4279B1
split-complementary
#B142B1 #79B142 #42B179
monochromatic
#582158 #843184 #B142B1 #C769C7 #D896D8

Accessibility & contrast

On white

4.90
#B142B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B142B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142B1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142B1#FFFFFF#000000##FFFFFF
##B142B11.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#B65074
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b142b1;
/* rgb */ color: rgb(177, 66, 177);
/* oklch */ color: oklch(57.3% 0.194 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb7ec9',
    500: '#b142b1',
    950: '#000000',
  },
}
SCSS
$custom: #b142b1;
$custom-light: #cb7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b142b1",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 300,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.19422,
    "h": 327.7
  },
  "luminance": 0.16418
}

Semantic roles & 50–950 ramp

primary
#B142B1
secondary
#8BC38B
accent
#D55252
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B142B1

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

Preview Lab → · Contrast checker → · Palette generator →

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