#B142DF#B142DF

#B142DF is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.235 H 314.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B142DF
RGBrgb(177, 66, 223)
HSLhsl(282, 71%, 57%)
HSVhsv(282, 70%, 87%)
CMYKcmyk(20.6%, 70.4%, 0%, 12.5%)
CIE-LABlab(50.18, 67.55, -59.83)
CIE-LCHlch(50.18, 90.24, 318.47°)
OKLaboklab(60.04% 0.1632 -0.1687)
OKLCHoklch(60.04% 0.235 314)
XYZxyz(33.3967, 18.5724, 71.6233)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142DF #70DF42
analogous
#6342DF #B142DF #DF42BF
triadic
#B142DF #DFB142 #42DFB1
tetradic
#B142DF #DF6342 #70DF42 #42BFDF
square
#B142DF #DF6342 #70DF42 #42BFDF
split-complementary
#B142DF #BFDF42 #42DF63
monochromatic
#6C188E #9321C3 #B142DF #C776E8 #DCABF1

Accessibility & contrast

On white

4.45
#B142DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B142DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B142DF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142DF#FFFFFF#000000##000000
##B142DF1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#AD638C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b142df;
/* rgb */ color: rgb(177, 66, 223);
/* oklch */ color: oklch(60.0% 0.235 314.0);
Tailwind
colors: {
  custom: {
    50: '#cd80ea',
    500: '#b142df',
    950: '#000000',
  },
}
SCSS
$custom: #b142df;
$custom-light: #cd80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b142df",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 282.42,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.23469,
    "h": 314
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#B142DF
secondary
#B1DF9E
accent
#EE3A6F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B142DF

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

Preview Lab → · Contrast checker → · Palette generator →

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