#B140D8#B140D8

#B140D8 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.231 H 316.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B140D8
RGBrgb(177, 64, 216)
HSLhsl(285, 66%, 55%)
HSVhsv(285, 70%, 85%)
CMYKcmyk(18.1%, 70.4%, 0%, 15.3%)
CIE-LABlab(49.46, 66.96, -57.00)
CIE-LCHlch(49.46, 87.94, 319.59°)
OKLaboklab(59.38% 0.1658 -0.1604)
OKLCHoklch(59.38% 0.231 316)
XYZxyz(32.3576, 17.9730, 66.7171)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140D8 #67D840
analogous
#6540D8 #B140D8 #D840B3
triadic
#B140D8 #D8B140 #40D8B1
tetradic
#B140D8 #D86540 #67D840 #40B3D8
square
#B140D8 #D86540 #67D840 #40B3D8
split-complementary
#B140D8 #B3D840 #40D865
monochromatic
#681B83 #9125B6 #B140D8 #C673E2 #DBA6ED

Accessibility & contrast

On white

4.57
#B140D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B140D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B140D8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140D8#FFFFFF#000000##000000
##B140D81.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#AE5F88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b140d8;
/* rgb */ color: rgb(177, 64, 216);
/* oklch */ color: oklch(59.4% 0.231 316.0);
Tailwind
colors: {
  custom: {
    50: '#cc7ee5',
    500: '#b140d8',
    950: '#000000',
  },
}
SCSS
$custom: #b140d8;
$custom-light: #cc7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b140d8",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 284.605,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.23071,
    "h": 316
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#B140D8
secondary
#AADA9A
accent
#E93F6A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B140D8

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

Preview Lab → · Contrast checker → · Palette generator →

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