#B142D1#B142D1

#B142D1 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.222 H 317.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B142D1
RGBrgb(177, 66, 209)
HSLhsl(287, 61%, 54%)
HSVhsv(287, 68%, 82%)
CMYKcmyk(15.3%, 68.4%, 0%, 18%)
CIE-LABlab(49.31, 64.82, -53.24)
CIE-LCHlch(49.31, 83.88, 320.60°)
OKLaboklab(59.14% 0.1643 -0.1494)
OKLCHoklch(59.14% 0.222 317.7)
XYZxyz(31.5867, 17.8483, 62.0905)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142D1 #62D142
analogous
#6A42D1 #B142D1 #D142AA
triadic
#B142D1 #D1B142 #42D1B1
tetradic
#B142D1 #D16A42 #62D142 #42AAD1
square
#B142D1 #D16A42 #62D142 #42AAD1
split-complementary
#B142D1 #AAD142 #42D16A
monochromatic
#661E7B #8F2AAC #B142D1 #C573DD #DAA4E9

Accessibility & contrast

On white

4.60
#B142D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B142D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142D1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142D1#FFFFFF#000000##FFFFFF
##B142D11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#4779CE
Tritanopia (blue-blind)
#B05D85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b142d1;
/* rgb */ color: rgb(177, 66, 209);
/* oklch */ color: oklch(59.1% 0.222 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc7fe0',
    500: '#b142d1',
    950: '#000000',
  },
}
SCSS
$custom: #b142d1;
$custom-light: #cc7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#b142d1",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 286.573,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.22208,
    "h": 317.7
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#B142D1
secondary
#A7D699
accent
#E44468
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B142D1

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

Preview Lab → · Contrast checker → · Palette generator →

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