#B142D2#B142D2

#B142D2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.223 H 317.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B142D2
RGBrgb(177, 66, 210)
HSLhsl(286, 62%, 54%)
HSVhsv(286, 69%, 82%)
CMYKcmyk(15.7%, 68.6%, 0%, 17.6%)
CIE-LABlab(49.37, 65.01, -53.72)
CIE-LCHlch(49.37, 84.33, 320.43°)
OKLaboklab(59.2% 0.1643 -0.1508)
OKLCHoklch(59.2% 0.223 317.4)
XYZxyz(31.7109, 17.8980, 62.7446)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142D2 #63D242
analogous
#6942D2 #B142D2 #D242AB
triadic
#B142D2 #D2B142 #42D2B1
tetradic
#B142D2 #D26942 #63D242 #42ABD2
square
#B142D2 #D26942 #63D242 #42ABD2
split-complementary
#B142D2 #ABD242 #42D269
monochromatic
#661E7C #8F29AD #B142D2 #C573DE #DAA5EA

Accessibility & contrast

On white

4.59
#B142D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B142D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142D2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142D2#FFFFFF#000000##FFFFFF
##B142D21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#4679CF
Tritanopia (blue-blind)
#B05E85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b142d2;
/* rgb */ color: rgb(177, 66, 210);
/* oklch */ color: oklch(59.2% 0.223 317.4);
Tailwind
colors: {
  custom: {
    50: '#cc7fe0',
    500: '#b142d2',
    950: '#000000',
  },
}
SCSS
$custom: #b142d2;
$custom-light: #cc7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#b142d2",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 286.25,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59199,
    "c": 0.22298,
    "h": 317.4
  },
  "luminance": 0.17897
}

Semantic roles & 50–950 ramp

primary
#B142D2
secondary
#A7D799
accent
#E54368
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B142D2

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

Preview Lab → · Contrast checker → · Palette generator →

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