#B142AE#B142AE

#B142AE is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.192 H 328.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B142AE
RGBrgb(177, 66, 174)
HSLhsl(302, 46%, 48%)
HSVhsv(302, 63%, 69%)
CMYKcmyk(0%, 62.7%, 1.7%, 30.6%)
CIE-LABlab(47.37, 58.44, -36.01)
CIE-LCHlch(47.37, 68.65, 328.36°)
OKLaboklab(57.11% 0.164 -0.0992)
OKLCHoklch(57.11% 0.192 328.8)
XYZxyz(27.7194, 16.3014, 41.7227)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142AE #42B145
analogous
#7D42B1 #B142AE #B14276
triadic
#B142AE #AEB142 #42AEB1
tetradic
#B142AE #B17D42 #42B145 #4276B1
square
#B142AE #B17D42 #42B145 #4276B1
split-complementary
#B142AE #76B142 #42B17D
monochromatic
#582156 #843182 #B142AE #C769C5 #D896D6

Accessibility & contrast

On white

4.93
#B142AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B142AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142AE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142AE#FFFFFF#000000##FFFFFF
##B142AE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#5E76AB
Tritanopia (blue-blind)
#B74F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b142ae;
/* rgb */ color: rgb(177, 66, 174);
/* oklch */ color: oklch(57.1% 0.192 328.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ec6',
    500: '#b142ae',
    950: '#000000',
  },
}
SCSS
$custom: #b142ae;
$custom-light: #cb7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#b142ae",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 301.622,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.19172,
    "h": 328.8
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#B142AE
secondary
#8BC38D
accent
#D55652
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B142AE

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

Preview Lab → · Contrast checker → · Palette generator →

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