#B140E1#B140E1

#B140E1 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.0% C 0.239 H 313.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B140E1
RGBrgb(177, 64, 225)
HSLhsl(282, 73%, 57%)
HSVhsv(282, 72%, 88%)
CMYKcmyk(21.3%, 71.6%, 0%, 11.8%)
CIE-LABlab(50.04, 68.72, -61.20)
CIE-LCHlch(50.04, 92.02, 318.32°)
OKLaboklab(59.98% 0.1649 -0.1727)
OKLCHoklch(59.98% 0.239 313.7)
XYZxyz(33.5531, 18.4512, 73.0135)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140E1 #70E140
analogous
#6140E1 #B140E1 #E140C1
triadic
#B140E1 #E1B140 #40E1B1
tetradic
#B140E1 #E16140 #70E140 #40C1E1
square
#B140E1 #E16140 #70E140 #40C1E1
split-complementary
#B140E1 #C1E140 #40E161
monochromatic
#6C1790 #931FC5 #B140E1 #C775E9 #DCAAF2

Accessibility & contrast

On white

4.48
#B140E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B140E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B140E1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140E1#FFFFFF#000000##000000
##B140E11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#347ADD
Tritanopia (blue-blind)
#AC638D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b140e1;
/* rgb */ color: rgb(177, 64, 225);
/* oklch */ color: oklch(60.0% 0.239 313.7);
Tailwind
colors: {
  custom: {
    50: '#cd7feb',
    500: '#b140e1',
    950: '#000000',
  },
}
SCSS
$custom: #b140e1;
$custom-light: #cd7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#b140e1",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 225
  },
  "hsl": {
    "h": 282.112,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.23876,
    "h": 313.7
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#B140E1
secondary
#B1DF9D
accent
#F0386F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B140E1

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

Preview Lab → · Contrast checker → · Palette generator →

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