#B142A6#B142A6

#B142A6 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.185 H 331.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B142A6
RGBrgb(177, 66, 166)
HSLhsl(306, 46%, 48%)
HSVhsv(306, 63%, 69%)
CMYKcmyk(0%, 62.7%, 6.2%, 30.6%)
CIE-LABlab(46.97, 57.10, -31.91)
CIE-LCHlch(46.97, 65.41, 330.80°)
OKLaboklab(56.69% 0.1633 -0.0874)
OKLCHoklch(56.69% 0.185 331.8)
XYZxyz(26.9626, 15.9987, 37.7370)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142A6 #42B14D
analogous
#8442B1 #B142A6 #B1426E
triadic
#B142A6 #A6B142 #42A6B1
tetradic
#B142A6 #B18442 #42B14D #426EB1
square
#B142A6 #B18442 #42B14D #426EB1
split-complementary
#B142A6 #6EB142 #42B184
monochromatic
#582152 #84317C #B142A6 #C769BE #D896D1

Accessibility & contrast

On white

5.00
#B142A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B142A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142A6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142A6#FFFFFF#000000##FFFFFF
##B142A61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#6275A3
Tritanopia (blue-blind)
#B84C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b142a6;
/* rgb */ color: rgb(177, 66, 166);
/* oklch */ color: oklch(56.7% 0.185 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ec1',
    500: '#b142a6',
    950: '#000000',
  },
}
SCSS
$custom: #b142a6;
$custom-light: #cb7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b142a6",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 305.946,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.1852,
    "h": 331.8
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#B142A6
secondary
#8BC391
accent
#D55F52
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B142A6

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

Preview Lab → · Contrast checker → · Palette generator →

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