#B142A1#B142A1

#B142A1 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.181 H 333.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B142A1
RGBrgb(177, 66, 161)
HSLhsl(309, 46%, 48%)
HSVhsv(309, 63%, 69%)
CMYKcmyk(0%, 62.7%, 9%, 30.6%)
CIE-LABlab(46.74, 56.28, -29.32)
CIE-LCHlch(46.74, 63.46, 332.48°)
OKLaboklab(56.44% 0.1627 -0.08)
OKLCHoklch(56.44% 0.181 333.8)
XYZxyz(26.5128, 15.8188, 35.3682)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142A1 #42B152
analogous
#8A42B1 #B142A1 #B14269
triadic
#B142A1 #A1B142 #42A1B1
tetradic
#B142A1 #B18A42 #42B152 #4269B1
square
#B142A1 #B18A42 #42B152 #4269B1
split-complementary
#B142A1 #69B142 #42B18A
monochromatic
#582150 #843178 #B142A1 #C769BA #D896CE

Accessibility & contrast

On white

5.04
#B142A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B142A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142A1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142A1#FFFFFF#000000##FFFFFF
##B142A11.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#64759E
Tritanopia (blue-blind)
#B94A6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b142a1;
/* rgb */ color: rgb(177, 66, 161);
/* oklch */ color: oklch(56.4% 0.181 333.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ebd',
    500: '#b142a1',
    950: '#000000',
  },
}
SCSS
$custom: #b142a1;
$custom-light: #cb7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#b142a1",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 308.649,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.18126,
    "h": 333.8
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#B142A1
secondary
#8BC393
accent
#D56552
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B142A1

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

Preview Lab → · Contrast checker → · Palette generator →

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