#B142D5#B142D5

#B142D5 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.226 H 316.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B142D5
RGBrgb(177, 66, 213)
HSLhsl(285, 64%, 55%)
HSVhsv(285, 69%, 84%)
CMYKcmyk(16.9%, 69%, 0%, 16.5%)
CIE-LABlab(49.56, 65.59, -55.14)
CIE-LCHlch(49.56, 85.69, 319.94°)
OKLaboklab(59.39% 0.1641 -0.155)
OKLCHoklch(59.39% 0.226 316.6)
XYZxyz(32.0881, 18.0489, 64.7314)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142D5 #66D542
analogous
#6842D5 #B142D5 #D542B0
triadic
#B142D5 #D5B142 #42D5B1
tetradic
#B142D5 #D56842 #66D542 #42B0D5
square
#B142D5 #D56842 #66D542 #42B0D5
split-complementary
#B142D5 #B0D542 #42D568
monochromatic
#681C80 #9028B2 #B142D5 #C674E0 #DAA6EB

Accessibility & contrast

On white

4.56
#B142D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B142D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B142D5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142D5#FFFFFF#000000##000000
##B142D51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#4379D2
Tritanopia (blue-blind)
#AF5F87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b142d5;
/* rgb */ color: rgb(177, 66, 213);
/* oklch */ color: oklch(59.4% 0.226 316.6);
Tailwind
colors: {
  custom: {
    50: '#cc7fe3',
    500: '#b142d5',
    950: '#000000',
  },
}
SCSS
$custom: #b142d5;
$custom-light: #cc7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#b142d5",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 285.306,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.22567,
    "h": 316.6
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#B142D5
secondary
#AAD89A
accent
#E7416A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B142D5

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

Preview Lab → · Contrast checker → · Palette generator →

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