#B142BB#B142BB

#B142BB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.203 H 324.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B142BB
RGBrgb(177, 66, 187)
HSLhsl(295, 48%, 50%)
HSVhsv(295, 65%, 73%)
CMYKcmyk(5.3%, 64.7%, 0%, 26.7%)
CIE-LABlab(48.05, 60.72, -42.55)
CIE-LCHlch(48.05, 74.14, 324.98°)
OKLaboklab(57.82% 0.1647 -0.1182)
OKLCHoklch(57.82% 0.203 324.3)
XYZxyz(29.0486, 16.8331, 48.7231)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142BB #4CBB42
analogous
#7442BB #B142BB #BB4289
triadic
#B142BB #BBB142 #42BBB1
tetradic
#B142BB #BB7442 #4CBB42 #4289BB
square
#B142BB #BB7442 #4CBB42 #4289BB
split-complementary
#B142BB #89BB42 #42BB74
monochromatic
#5B2261 #86328E #B142BB #C46ECC #D79CDC

Accessibility & contrast

On white

4.81
#B142BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B142BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142BB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142BB#FFFFFF#000000##FFFFFF
##B142BB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BF
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#B45479
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b142bb;
/* rgb */ color: rgb(177, 66, 187);
/* oklch */ color: oklch(57.8% 0.203 324.3);
Tailwind
colors: {
  custom: {
    50: '#cc7ed0',
    500: '#b142bb',
    950: '#000000',
  },
}
SCSS
$custom: #b142bb;
$custom-light: #cc7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#b142bb",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 295.041,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57822,
    "c": 0.20271,
    "h": 324.3
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#B142BB
secondary
#95C891
accent
#D7505C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B142BB

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

Preview Lab → · Contrast checker → · Palette generator →

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