#B140C1#B140C1

#B140C1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.210 H 322.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B140C1
RGBrgb(177, 64, 193)
HSLhsl(293, 51%, 50%)
HSVhsv(293, 67%, 76%)
CMYKcmyk(8.3%, 66.8%, 0%, 24.3%)
CIE-LABlab(48.09, 62.62, -45.97)
CIE-LCHlch(48.09, 77.68, 323.72°)
OKLaboklab(57.96% 0.167 -0.1281)
OKLCHoklch(57.96% 0.21 322.5)
XYZxyz(29.5895, 16.8658, 52.1386)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140C1 #50C140
analogous
#7040C1 #B140C1 #C14090
triadic
#B140C1 #C1B140 #40C1B1
tetradic
#B140C1 #C17040 #50C140 #4090C1
square
#B140C1 #C17040 #50C140 #4090C1
split-complementary
#B140C1 #90C140 #40C170
monochromatic
#5D2166 #873094 #B140C1 #C46ED0 #D79CDF

Accessibility & contrast

On white

4.80
#B140C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B140C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140C1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140C1#FFFFFF#000000##FFFFFF
##B140C11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC5
Deuteranopia (green-blind)
#5277BE
Tritanopia (blue-blind)
#B3567B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b140c1;
/* rgb */ color: rgb(177, 64, 193);
/* oklch */ color: oklch(58.0% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#cc7ed4',
    500: '#b140c1',
    950: '#000000',
  },
}
SCSS
$custom: #b140c1;
$custom-light: #cc7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#b140c1",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 292.558,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.21047,
    "h": 322.5
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#B140C1
secondary
#99CB92
accent
#DA4D5F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #B140C1

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

Preview Lab → · Contrast checker → · Palette generator →

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