#B142CE#B142CE

#B142CE is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.219 H 318.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B142CE
RGBrgb(177, 66, 206)
HSLhsl(288, 59%, 53%)
HSVhsv(288, 68%, 81%)
CMYKcmyk(14.1%, 68%, 0%, 19.2%)
CIE-LABlab(49.13, 64.24, -51.81)
CIE-LCHlch(49.13, 82.53, 321.11°)
OKLaboklab(58.95% 0.1645 -0.1452)
OKLCHoklch(58.95% 0.219 318.6)
XYZxyz(31.2187, 17.7012, 60.1528)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142CE #5FCE42
analogous
#6B42CE #B142CE #CE42A5
triadic
#B142CE #CEB142 #42CEB1
tetradic
#B142CE #CE6B42 #5FCE42 #42A5CE
square
#B142CE #CE6B42 #5FCE42 #42A5CE
split-complementary
#B142CE #A5CE42 #42CE6B
monochromatic
#651F77 #8E2BA7 #B142CE #C573DB #D9A3E7

Accessibility & contrast

On white

4.63
#B142CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B142CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142CE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142CE#FFFFFF#000000##FFFFFF
##B142CE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#4A78CB
Tritanopia (blue-blind)
#B15C83
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b142ce;
/* rgb */ color: rgb(177, 66, 206);
/* oklch */ color: oklch(59.0% 0.219 318.6);
Tailwind
colors: {
  custom: {
    50: '#cc7fde',
    500: '#b142ce',
    950: '#000000',
  },
}
SCSS
$custom: #b142ce;
$custom-light: #cc7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#b142ce",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 287.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.2194,
    "h": 318.6
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#B142CE
secondary
#A4D498
accent
#E24666
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B142CE

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

Preview Lab → · Contrast checker → · Palette generator →

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