#B142D8#B142D8

#B142D8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.228 H 315.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B142D8
RGBrgb(177, 66, 216)
HSLhsl(284, 66%, 55%)
HSVhsv(284, 69%, 85%)
CMYKcmyk(18.1%, 69.4%, 0%, 15.3%)
CIE-LABlab(49.74, 66.17, -56.56)
CIE-LCHlch(49.74, 87.05, 319.48°)
OKLaboklab(59.58% 0.1638 -0.1591)
OKLCHoklch(59.58% 0.228 315.8)
XYZxyz(32.4724, 18.2026, 66.7554)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142D8 #69D842
analogous
#6642D8 #B142D8 #D842B4
triadic
#B142D8 #D8B142 #42D8B1
tetradic
#B142D8 #D86642 #69D842 #42B4D8
square
#B142D8 #D86642 #69D842 #42B4D8
split-complementary
#B142D8 #B4D842 #42D866
monochromatic
#691B84 #9126B7 #B142D8 #C675E2 #DBA7ED

Accessibility & contrast

On white

4.53
#B142D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B142D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B142D8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142D8#FFFFFF#000000##000000
##B142D81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#AE6089
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b142d8;
/* rgb */ color: rgb(177, 66, 216);
/* oklch */ color: oklch(59.6% 0.228 315.8);
Tailwind
colors: {
  custom: {
    50: '#cc7fe5',
    500: '#b142d8',
    950: '#000000',
  },
}
SCSS
$custom: #b142d8;
$custom-light: #cc7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b142d8",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 284.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.22837,
    "h": 315.8
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#B142D8
secondary
#ACDA9C
accent
#E93F6B
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B142D8

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

Preview Lab → · Contrast checker → · Palette generator →

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