#B142D6#B142D6

#B142D6 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.227 H 316.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B142D6
RGBrgb(177, 66, 214)
HSLhsl(285, 64%, 55%)
HSVhsv(285, 69%, 84%)
CMYKcmyk(17.3%, 69.2%, 0%, 16.1%)
CIE-LABlab(49.62, 65.78, -55.62)
CIE-LCHlch(49.62, 86.14, 319.79°)
OKLaboklab(59.45% 0.164 -0.1563)
OKLCHoklch(59.45% 0.227 316.4)
XYZxyz(32.2154, 18.0998, 65.4019)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142D6 #67D642
analogous
#6742D6 #B142D6 #D642B1
triadic
#B142D6 #D6B142 #42D6B1
tetradic
#B142D6 #D66742 #67D642 #42B1D6
square
#B142D6 #D66742 #67D642 #42B1D6
split-complementary
#B142D6 #B1D642 #42D667
monochromatic
#681C82 #9127B4 #B142D6 #C674E1 #DBA7EC

Accessibility & contrast

On white

4.55
#B142D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B142D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B142D6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142D6#FFFFFF#000000##000000
##B142D61.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#4279D3
Tritanopia (blue-blind)
#AF5F87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b142d6;
/* rgb */ color: rgb(177, 66, 214);
/* oklch */ color: oklch(59.5% 0.227 316.4);
Tailwind
colors: {
  custom: {
    50: '#cc7fe3',
    500: '#b142d6',
    950: '#000000',
  },
}
SCSS
$custom: #b142d6;
$custom-light: #cc7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#b142d6",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 285,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59453,
    "c": 0.22657,
    "h": 316.4
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#B142D6
secondary
#AAD99B
accent
#E7406A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B142D6

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

Preview Lab → · Contrast checker → · Palette generator →

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