#B140E6#B140E6

#B140E6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.3% C 0.243 H 312.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B140E6
RGBrgb(177, 64, 230)
HSLhsl(281, 77%, 58%)
HSVhsv(281, 72%, 90%)
CMYKcmyk(23%, 72.2%, 0%, 9.8%)
CIE-LABlab(50.37, 69.72, -63.50)
CIE-LCHlch(50.37, 94.30, 317.68°)
OKLaboklab(60.31% 0.1642 -0.1794)
OKLCHoklch(60.31% 0.243 312.5)
XYZxyz(34.2452, 18.7281, 76.6585)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140E6 #75E640
analogous
#5E40E6 #B140E6 #E640C8
triadic
#B140E6 #E6B140 #40E6B1
tetradic
#B140E6 #E65E40 #75E640 #40C8E6
square
#B140E6 #E65E40 #75E640 #40C8E6
split-complementary
#B140E6 #C8E640 #40E65E
monochromatic
#6E1498 #951BCE #B140E6 #C776ED #DDACF4

Accessibility & contrast

On white

4.43
#B140E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B140E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B140E6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140E6#FFFFFF#000000##000000
##B140E61.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#AB6590
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b140e6;
/* rgb */ color: rgb(177, 64, 230);
/* oklch */ color: oklch(60.3% 0.243 312.5);
Tailwind
colors: {
  custom: {
    50: '#cd7fef',
    500: '#b140e6',
    950: '#000000',
  },
}
SCSS
$custom: #b140e6;
$custom-light: #cd7fef;
$custom-dark: #000000;
JSON
{
  "hex": "#b140e6",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 230
  },
  "hsl": {
    "h": 280.843,
    "s": 76.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60313,
    "c": 0.24326,
    "h": 312.5
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#B140E6
secondary
#B5E29F
accent
#F33471
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B140E6

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

Preview Lab → · Contrast checker → · Palette generator →

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