#B142CC#B142CC

#B142CC is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.218 H 319.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B142CC
RGBrgb(177, 66, 204)
HSLhsl(288, 58%, 53%)
HSVhsv(288, 68%, 80%)
CMYKcmyk(13.2%, 67.6%, 0%, 20%)
CIE-LABlab(49.01, 63.86, -50.85)
CIE-LCHlch(49.01, 81.63, 321.47°)
OKLaboklab(58.83% 0.1646 -0.1424)
OKLCHoklch(58.83% 0.218 319.1)
XYZxyz(30.9773, 17.6046, 58.8813)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142CC #5DCC42
analogous
#6C42CC #B142CC #CC42A2
triadic
#B142CC #CCB142 #42CCB1
tetradic
#B142CC #CC6C42 #5DCC42 #42A2CC
square
#B142CC #CC6C42 #5DCC42 #42A2CC
split-complementary
#B142CC #A2CC42 #42CC6C
monochromatic
#641F74 #8D2CA4 #B142CC #C572D9 #D9A2E6

Accessibility & contrast

On white

4.65
#B142CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B142CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142CC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142CC#FFFFFF#000000##FFFFFF
##B142CC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026DD0
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#B15B82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b142cc;
/* rgb */ color: rgb(177, 66, 204);
/* oklch */ color: oklch(58.8% 0.218 319.1);
Tailwind
colors: {
  custom: {
    50: '#cc7fdc',
    500: '#b142cc',
    950: '#000000',
  },
}
SCSS
$custom: #b142cc;
$custom-light: #cc7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b142cc",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 288.261,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.21762,
    "h": 319.1
  },
  "luminance": 0.17603
}

Semantic roles & 50–950 ramp

primary
#B142CC
secondary
#A3D397
accent
#E14765
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B142CC

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

Preview Lab → · Contrast checker → · Palette generator →

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