#B142CF#B142CF

#B142CF is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.220 H 318.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B142CF
RGBrgb(177, 66, 207)
HSLhsl(287, 59%, 54%)
HSVhsv(287, 68%, 81%)
CMYKcmyk(14.5%, 68.1%, 0%, 18.8%)
CIE-LABlab(49.19, 64.43, -52.29)
CIE-LCHlch(49.19, 82.98, 320.94°)
OKLaboklab(59.01% 0.1644 -0.1466)
OKLCHoklch(59.01% 0.22 318.3)
XYZxyz(31.3406, 17.7499, 60.7946)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142CF #60CF42
analogous
#6A42CF #B142CF #CF42A6
triadic
#B142CF #CFB142 #42CFB1
tetradic
#B142CF #CF6A42 #60CF42 #42A6CF
square
#B142CF #CF6A42 #60CF42 #42A6CF
split-complementary
#B142CF #A6CF42 #42CF6A
monochromatic
#651F78 #8E2BA9 #B142CF #C573DB #D9A4E8

Accessibility & contrast

On white

4.62
#B142CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B142CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B142CF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142CF#FFFFFF#000000##FFFFFF
##B142CF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#4978CC
Tritanopia (blue-blind)
#B05D84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b142cf;
/* rgb */ color: rgb(177, 66, 207);
/* oklch */ color: oklch(59.0% 0.220 318.3);
Tailwind
colors: {
  custom: {
    50: '#cc7fde',
    500: '#b142cf',
    950: '#000000',
  },
}
SCSS
$custom: #b142cf;
$custom-light: #cc7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#b142cf",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 287.234,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59012,
    "c": 0.22029,
    "h": 318.3
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#B142CF
secondary
#A5D598
accent
#E34567
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B142CF

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

Preview Lab → · Contrast checker → · Palette generator →

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