#B142AF#B142AF

#B142AF is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.2% C 0.193 H 328.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B142AF
RGBrgb(177, 66, 175)
HSLhsl(301, 46%, 48%)
HSVhsv(301, 63%, 69%)
CMYKcmyk(0%, 62.7%, 1.1%, 30.6%)
CIE-LABlab(47.42, 58.61, -36.52)
CIE-LCHlch(47.42, 69.06, 328.07°)
OKLaboklab(57.16% 0.1641 -0.1007)
OKLCHoklch(57.16% 0.193 328.5)
XYZxyz(27.8172, 16.3406, 42.2380)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142AF #42B144
analogous
#7B42B1 #B142AF #B14278
triadic
#B142AF #AFB142 #42AFB1
tetradic
#B142AF #B17B42 #42B144 #4278B1
square
#B142AF #B17B42 #42B144 #4278B1
split-complementary
#B142AF #78B142 #42B17B
monochromatic
#582157 #843183 #B142AF #C769C5 #D896D7

Accessibility & contrast

On white

4.92
#B142AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B142AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142AF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142AF#FFFFFF#000000##FFFFFF
##B142AF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#5D76AC
Tritanopia (blue-blind)
#B75073
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b142af;
/* rgb */ color: rgb(177, 66, 175);
/* oklch */ color: oklch(57.2% 0.193 328.5);
Tailwind
colors: {
  custom: {
    50: '#cb7ec7',
    500: '#b142af',
    950: '#000000',
  },
}
SCSS
$custom: #b142af;
$custom-light: #cb7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b142af",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 301.081,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.19255,
    "h": 328.5
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#B142AF
secondary
#8BC38C
accent
#D55552
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B142AF

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

Preview Lab → · Contrast checker → · Palette generator →

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