#B140C0#B140C0

#B140C0 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.210 H 322.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B140C0
RGBrgb(177, 64, 192)
HSLhsl(293, 50%, 50%)
HSVhsv(293, 67%, 75%)
CMYKcmyk(7.8%, 66.7%, 0%, 24.7%)
CIE-LABlab(48.03, 62.44, -45.48)
CIE-LCHlch(48.03, 77.25, 323.93°)
OKLaboklab(57.9% 0.167 -0.1267)
OKLCHoklch(57.9% 0.21 322.8)
XYZxyz(29.4783, 16.8213, 51.5531)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140C0 #4FC040
analogous
#7140C0 #B140C0 #C0408F
triadic
#B140C0 #C0B140 #40C0B1
tetradic
#B140C0 #C07140 #4FC040 #408FC0
square
#B140C0 #C07140 #4FC040 #408FC0
split-complementary
#B140C0 #8FC040 #40C071
monochromatic
#5D2164 #873092 #B140C0 #C46ECF #D79CDE

Accessibility & contrast

On white

4.81
#B140C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B140C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140C0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140C0#FFFFFF#000000##FFFFFF
##B140C01.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#5376BD
Tritanopia (blue-blind)
#B4557B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b140c0;
/* rgb */ color: rgb(177, 64, 192);
/* oklch */ color: oklch(57.9% 0.210 322.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ed3',
    500: '#b140c0',
    950: '#000000',
  },
}
SCSS
$custom: #b140c0;
$custom-light: #cc7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#b140c0",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 292.969,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.579,
    "c": 0.20962,
    "h": 322.8
  },
  "luminance": 0.1682
}

Semantic roles & 50–950 ramp

primary
#B140C0
secondary
#98CB91
accent
#DA4E5E
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #B140C0

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

Preview Lab → · Contrast checker → · Palette generator →

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