#B142A3#B142A3

#B142A3 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.183 H 333.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B142A3
RGBrgb(177, 66, 163)
HSLhsl(308, 46%, 48%)
HSVhsv(308, 63%, 69%)
CMYKcmyk(0%, 62.7%, 7.9%, 30.6%)
CIE-LABlab(46.83, 56.61, -30.36)
CIE-LCHlch(46.83, 64.23, 331.80°)
OKLaboklab(56.54% 0.1629 -0.083)
OKLCHoklch(56.54% 0.183 333)
XYZxyz(26.6906, 15.8899, 36.3045)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142A3 #42B150
analogous
#8842B1 #B142A3 #B1426B
triadic
#B142A3 #A3B142 #42A3B1
tetradic
#B142A3 #B18842 #42B150 #426BB1
square
#B142A3 #B18842 #42B150 #426BB1
split-complementary
#B142A3 #6BB142 #42B188
monochromatic
#582151 #84317A #B142A3 #C769BB #D896CF

Accessibility & contrast

On white

5.03
#B142A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B142A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142A3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142A3#FFFFFF#000000##FFFFFF
##B142A31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#B94B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b142a3;
/* rgb */ color: rgb(177, 66, 163);
/* oklch */ color: oklch(56.5% 0.183 333.0);
Tailwind
colors: {
  custom: {
    50: '#cb7ebe',
    500: '#b142a3',
    950: '#000000',
  },
}
SCSS
$custom: #b142a3;
$custom-light: #cb7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b142a3",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 307.568,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.18283,
    "h": 333
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#B142A3
secondary
#8BC392
accent
#D56352
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B142A3

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

Preview Lab → · Contrast checker → · Palette generator →

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