#B142C7#B142C7

#B142C7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.213 H 320.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B142C7
RGBrgb(177, 66, 199)
HSLhsl(290, 54%, 52%)
HSVhsv(290, 67%, 78%)
CMYKcmyk(11.1%, 66.8%, 0%, 22%)
CIE-LABlab(48.72, 62.92, -48.44)
CIE-LCHlch(48.72, 79.40, 322.41°)
OKLaboklab(58.52% 0.1647 -0.1353)
OKLCHoklch(58.52% 0.213 320.6)
XYZxyz(30.3873, 17.3686, 55.7736)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142C7 #58C742
analogous
#6F42C7 #B142C7 #C7429B
triadic
#B142C7 #C7B142 #42C7B1
tetradic
#B142C7 #C76F42 #58C742 #429BC7
square
#B142C7 #C76F42 #58C742 #429BC7
split-complementary
#B142C7 #9BC742 #42C76F
monochromatic
#61216E #8B2F9D #B142C7 #C471D5 #D8A0E3

Accessibility & contrast

On white

4.69
#B142C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B142C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142C7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142C7#FFFFFF#000000##FFFFFF
##B142C71.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156CCB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#B2597F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b142c7;
/* rgb */ color: rgb(177, 66, 199);
/* oklch */ color: oklch(58.5% 0.213 320.6);
Tailwind
colors: {
  custom: {
    50: '#cc7fd8',
    500: '#b142c7',
    950: '#000000',
  },
}
SCSS
$custom: #b142c7;
$custom-light: #cc7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b142c7",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 290.075,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.21319,
    "h": 320.6
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#B142C7
secondary
#9FD095
accent
#DE4A63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B142C7

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

Preview Lab → · Contrast checker → · Palette generator →

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