#B142CD#B142CD

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

Color values

HEX#B142CD
RGBrgb(177, 66, 205)
HSLhsl(288, 58%, 53%)
HSVhsv(288, 68%, 80%)
CMYKcmyk(13.7%, 67.8%, 0%, 19.6%)
CIE-LABlab(49.07, 64.05, -51.33)
CIE-LCHlch(49.07, 82.08, 321.29°)
OKLaboklab(58.89% 0.1645 -0.1438)
OKLCHoklch(58.89% 0.219 318.8)
XYZxyz(31.0977, 17.6527, 59.5150)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142CD #5ECD42
analogous
#6B42CD #B142CD #CD42A3
triadic
#B142CD #CDB142 #42CDB1
tetradic
#B142CD #CD6B42 #5ECD42 #42A3CD
square
#B142CD #CD6B42 #5ECD42 #42A3CD
split-complementary
#B142CD #A3CD42 #42CD6B
monochromatic
#641F76 #8D2CA6 #B142CD #C572DA #D9A3E7

Accessibility & contrast

On white

4.64
#B142CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B142CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142CD#FFFFFF#000000##FFFFFF
##B142CD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b142cd;
/* rgb */ color: rgb(177, 66, 205);
/* oklch */ color: oklch(58.9% 0.219 318.8);
Tailwind
colors: {
  custom: {
    50: '#cc7fdd',
    500: '#b142cd',
    950: '#000000',
  },
}
SCSS
$custom: #b142cd;
$custom-light: #cc7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b142cd",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 287.914,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.21851,
    "h": 318.8
  },
  "luminance": 0.17651
}

Semantic roles & 50–950 ramp

primary
#B142CD
secondary
#A4D397
accent
#E14666
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B142CD

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

Preview Lab → · Contrast checker → · Palette generator →

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