#B142D0#B142D0

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

Color values

HEX#B142D0
RGBrgb(177, 66, 208)
HSLhsl(287, 60%, 54%)
HSVhsv(287, 68%, 82%)
CMYKcmyk(14.9%, 68.3%, 0%, 18.4%)
CIE-LABlab(49.25, 64.62, -52.77)
CIE-LCHlch(49.25, 83.43, 320.77°)
OKLaboklab(59.07% 0.1644 -0.148)
OKLCHoklch(59.07% 0.221 318)
XYZxyz(31.4633, 17.7990, 61.4405)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142D0 #61D042
analogous
#6A42D0 #B142D0 #D042A8
triadic
#B142D0 #D0B142 #42D0B1
tetradic
#B142D0 #D06A42 #61D042 #42A8D0
square
#B142D0 #D06A42 #61D042 #42A8D0
split-complementary
#B142D0 #A8D042 #42D06A
monochromatic
#651E79 #8E2AAA #B142D0 #C573DC #D9A4E8

Accessibility & contrast

On white

4.61
#B142D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B142D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142D0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142D0#FFFFFF#000000##FFFFFF
##B142D01.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#4879CD
Tritanopia (blue-blind)
#B05D84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b142d0;
/* rgb */ color: rgb(177, 66, 208);
/* oklch */ color: oklch(59.1% 0.221 318.0);
Tailwind
colors: {
  custom: {
    50: '#cc7fdf',
    500: '#b142d0',
    950: '#000000',
  },
}
SCSS
$custom: #b142d0;
$custom-light: #cc7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#b142d0",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 286.901,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.22119,
    "h": 318
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#B142D0
secondary
#A6D599
accent
#E34467
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B142D0

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

Preview Lab → · Contrast checker → · Palette generator →

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