#B142E7#B142E7

#B142E7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.242 H 312.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B142E7
RGBrgb(177, 66, 231)
HSLhsl(280, 77%, 58%)
HSVhsv(280, 71%, 91%)
CMYKcmyk(23.4%, 71.4%, 0%, 9.4%)
CIE-LABlab(50.70, 69.15, -63.52)
CIE-LCHlch(50.70, 93.90, 317.43°)
OKLaboklab(60.57% 0.1622 -0.1795)
OKLCHoklch(60.57% 0.242 312.1)
XYZxyz(34.5008, 19.0140, 77.4385)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142E7 #78E742
analogous
#5E42E7 #B142E7 #E742CA
triadic
#B142E7 #E7B142 #42E7B1
tetradic
#B142E7 #E75E42 #78E742 #42CAE7
square
#B142E7 #E75E42 #78E742 #42CAE7
split-complementary
#B142E7 #CAE742 #42E75E
monochromatic
#6F149B #951BD1 #B142E7 #C778EE #DEAFF5

Accessibility & contrast

On white

4.37
#B142E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B142E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B142E7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142E7#FFFFFF#000000##000000
##B142E71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#2D7BE3
Tritanopia (blue-blind)
#AB6691
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b142e7;
/* rgb */ color: rgb(177, 66, 231);
/* oklch */ color: oklch(60.6% 0.242 312.1);
Tailwind
colors: {
  custom: {
    50: '#cd80ef',
    500: '#b142e7',
    950: '#000000',
  },
}
SCSS
$custom: #b142e7;
$custom-light: #cd80ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b142e7",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 231
  },
  "hsl": {
    "h": 280.364,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.24196,
    "h": 312.1
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#B142E7
secondary
#B7E3A2
accent
#F43473
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B142E7

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

Preview Lab → · Contrast checker → · Palette generator →

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