#B142E0#B142E0

#B142E0 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.236 H 313.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B142E0
RGBrgb(177, 66, 224)
HSLhsl(282, 72%, 57%)
HSVhsv(282, 71%, 88%)
CMYKcmyk(21%, 70.5%, 0%, 12.2%)
CIE-LABlab(50.25, 67.75, -60.29)
CIE-LCHlch(50.25, 90.69, 318.33°)
OKLaboklab(60.1% 0.1631 -0.1701)
OKLCHoklch(60.1% 0.236 313.8)
XYZxyz(33.5319, 18.6264, 72.3355)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142E0 #71E042
analogous
#6242E0 #B142E0 #E042C0
triadic
#B142E0 #E0B142 #42E0B1
tetradic
#B142E0 #E06242 #71E042 #42C0E0
square
#B142E0 #E06242 #71E042 #42C0E0
split-complementary
#B142E0 #C0E042 #42E062
monochromatic
#6C1890 #9420C5 #B142E0 #C777E9 #DCABF1

Accessibility & contrast

On white

4.44
#B142E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B142E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B142E0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142E0#FFFFFF#000000##000000
##B142E01.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#AC648D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b142e0;
/* rgb */ color: rgb(177, 66, 224);
/* oklch */ color: oklch(60.1% 0.236 313.8);
Tailwind
colors: {
  custom: {
    50: '#cd80ea',
    500: '#b142e0',
    950: '#000000',
  },
}
SCSS
$custom: #b142e0;
$custom-light: #cd80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b142e0",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 282.152,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.2356,
    "h": 313.8
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

primary
#B142E0
secondary
#B2DF9F
accent
#EF396F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B142E0

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

Preview Lab → · Contrast checker → · Palette generator →

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