#B142D9#B142D9

#B142D9 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.229 H 315.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B142D9
RGBrgb(177, 66, 217)
HSLhsl(284, 67%, 55%)
HSVhsv(284, 70%, 85%)
CMYKcmyk(18.4%, 69.6%, 0%, 14.9%)
CIE-LABlab(49.80, 66.37, -57.03)
CIE-LCHlch(49.80, 87.50, 319.33°)
OKLaboklab(59.65% 0.1637 -0.1605)
OKLCHoklch(59.65% 0.229 315.6)
XYZxyz(32.6021, 18.2545, 67.4383)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142D9 #6AD942
analogous
#6542D9 #B142D9 #D942B5
triadic
#B142D9 #D9B142 #42D9B1
tetradic
#B142D9 #D96542 #6AD942 #42B5D9
square
#B142D9 #D96542 #6AD942 #42B5D9
split-complementary
#B142D9 #B5D942 #42D965
monochromatic
#691B86 #9225B9 #B142D9 #C675E3 #DBA8ED

Accessibility & contrast

On white

4.52
#B142D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B142D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B142D9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142D9#FFFFFF#000000##000000
##B142D91.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3F79D6
Tritanopia (blue-blind)
#AE6189
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b142d9;
/* rgb */ color: rgb(177, 66, 217);
/* oklch */ color: oklch(59.6% 0.229 315.6);
Tailwind
colors: {
  custom: {
    50: '#cc7fe5',
    500: '#b142d9',
    950: '#000000',
  },
}
SCSS
$custom: #b142d9;
$custom-light: #cc7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b142d9",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 284.106,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.22927,
    "h": 315.6
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#B142D9
secondary
#ADDB9C
accent
#E93E6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B142D9

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

Preview Lab → · Contrast checker → · Palette generator →

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