#B142AC#B142AC

#B142AC is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.190 H 329.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B142AC
RGBrgb(177, 66, 172)
HSLhsl(303, 46%, 48%)
HSVhsv(303, 63%, 69%)
CMYKcmyk(0%, 62.7%, 2.8%, 30.6%)
CIE-LABlab(47.27, 58.10, -34.99)
CIE-LCHlch(47.27, 67.83, 328.94°)
OKLaboklab(57% 0.1639 -0.0963)
OKLCHoklch(57% 0.19 329.6)
XYZxyz(27.5258, 16.2240, 40.7035)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142AC #42B147
analogous
#7F42B1 #B142AC #B14274
triadic
#B142AC #ACB142 #42ACB1
tetradic
#B142AC #B17F42 #42B147 #4274B1
square
#B142AC #B17F42 #42B147 #4274B1
split-complementary
#B142AC #74B142 #42B17F
monochromatic
#582155 #843181 #B142AC #C769C3 #D896D5

Accessibility & contrast

On white

4.95
#B142AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B142AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142AC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142AC#FFFFFF#000000##FFFFFF
##B142AC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#5F75A9
Tritanopia (blue-blind)
#B74E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b142ac;
/* rgb */ color: rgb(177, 66, 172);
/* oklch */ color: oklch(57.0% 0.190 329.6);
Tailwind
colors: {
  custom: {
    50: '#cb7ec5',
    500: '#b142ac',
    950: '#000000',
  },
}
SCSS
$custom: #b142ac;
$custom-light: #cb7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#b142ac",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 302.703,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.19007,
    "h": 329.6
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

primary
#B142AC
secondary
#8BC38E
accent
#D55852
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B142AC

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

Preview Lab → · Contrast checker → · Palette generator →

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