#B142CA#B142CA

#B142CA is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.7% C 0.216 H 319.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B142CA
RGBrgb(177, 66, 202)
HSLhsl(289, 56%, 53%)
HSVhsv(289, 67%, 79%)
CMYKcmyk(12.4%, 67.3%, 0%, 20.8%)
CIE-LABlab(48.90, 63.48, -49.89)
CIE-LCHlch(48.90, 80.74, 321.84°)
OKLaboklab(58.7% 0.1646 -0.1396)
OKLCHoklch(58.7% 0.216 319.7)
XYZxyz(30.7390, 17.5093, 57.6261)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142CA #5BCA42
analogous
#6D42CA #B142CA #CA429F
triadic
#B142CA #CAB142 #42CAB1
tetradic
#B142CA #CA6D42 #5BCA42 #429FCA
square
#B142CA #CA6D42 #5BCA42 #429FCA
split-complementary
#B142CA #9FCA42 #42CA6D
monochromatic
#632072 #8C2DA2 #B142CA #C572D7 #D8A2E5

Accessibility & contrast

On white

4.67
#B142CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B142CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142CA#FFFFFF#000000##FFFFFF
##B142CA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCE
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#B15A81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b142ca;
/* rgb */ color: rgb(177, 66, 202);
/* oklch */ color: oklch(58.7% 0.216 319.7);
Tailwind
colors: {
  custom: {
    50: '#cc7fdb',
    500: '#b142ca',
    950: '#000000',
  },
}
SCSS
$custom: #b142ca;
$custom-light: #cc7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b142ca",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 288.971,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.21584,
    "h": 319.7
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#B142CA
secondary
#A1D196
accent
#DF4864
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B142CA

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

Preview Lab → · Contrast checker → · Palette generator →

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