#B142CB#B142CB

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

Color values

HEX#B142CB
RGBrgb(177, 66, 203)
HSLhsl(289, 57%, 53%)
HSVhsv(289, 67%, 80%)
CMYKcmyk(12.8%, 67.5%, 0%, 20.4%)
CIE-LABlab(48.95, 63.67, -50.37)
CIE-LCHlch(48.95, 81.19, 321.65°)
OKLaboklab(58.77% 0.1646 -0.141)
OKLCHoklch(58.77% 0.217 319.4)
XYZxyz(30.8578, 17.5568, 58.2517)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142CB #5CCB42
analogous
#6C42CB #B142CB #CB42A0
triadic
#B142CB #CBB142 #42CBB1
tetradic
#B142CB #CB6C42 #5CCB42 #42A0CB
square
#B142CB #CB6C42 #5CCB42 #42A0CB
split-complementary
#B142CB #A0CB42 #42CB6C
monochromatic
#632073 #8D2DA3 #B142CB #C572D8 #D9A2E5

Accessibility & contrast

On white

4.66
#B142CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B142CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142CB#FFFFFF#000000##FFFFFF
##B142CB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066DCF
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#B15B81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b142cb;
/* rgb */ color: rgb(177, 66, 203);
/* oklch */ color: oklch(58.8% 0.217 319.4);
Tailwind
colors: {
  custom: {
    50: '#cc7fdb',
    500: '#b142cb',
    950: '#000000',
  },
}
SCSS
$custom: #b142cb;
$custom-light: #cc7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b142cb",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 288.613,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.21673,
    "h": 319.4
  },
  "luminance": 0.17555
}

Semantic roles & 50–950 ramp

primary
#B142CB
secondary
#A2D297
accent
#E04865
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B142CB

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

Preview Lab → · Contrast checker → · Palette generator →

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