#B142AA#B142AA

#B142AA is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.188 H 330.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B142AA
RGBrgb(177, 66, 170)
HSLhsl(304, 46%, 48%)
HSVhsv(304, 63%, 69%)
CMYKcmyk(0%, 62.7%, 4%, 30.6%)
CIE-LABlab(47.17, 57.76, -33.97)
CIE-LCHlch(47.17, 67.01, 329.54°)
OKLaboklab(56.9% 0.1637 -0.0934)
OKLCHoklch(56.9% 0.188 330.3)
XYZxyz(27.3352, 16.1478, 39.6995)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142AA #42B149
analogous
#8142B1 #B142AA #B14272
triadic
#B142AA #AAB142 #42AAB1
tetradic
#B142AA #B18142 #42B149 #4272B1
square
#B142AA #B18142 #42B149 #4272B1
split-complementary
#B142AA #72B142 #42B181
monochromatic
#582154 #84317F #B142AA #C769C1 #D896D4

Accessibility & contrast

On white

4.97
#B142AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B142AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142AA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142AA#FFFFFF#000000##FFFFFF
##B142AA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#6075A7
Tritanopia (blue-blind)
#B74E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b142aa;
/* rgb */ color: rgb(177, 66, 170);
/* oklch */ color: oklch(56.9% 0.188 330.3);
Tailwind
colors: {
  custom: {
    50: '#cb7ec3',
    500: '#b142aa',
    950: '#000000',
  },
}
SCSS
$custom: #b142aa;
$custom-light: #cb7ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#b142aa",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 303.784,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.18843,
    "h": 330.3
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#B142AA
secondary
#8BC38F
accent
#D55B52
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B142AA

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

Preview Lab → · Contrast checker → · Palette generator →

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