#B140C5#B140C5

#B140C5 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.214 H 321.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B140C5
RGBrgb(177, 64, 197)
HSLhsl(291, 53%, 51%)
HSVhsv(291, 68%, 77%)
CMYKcmyk(10.2%, 67.5%, 0%, 22.7%)
CIE-LABlab(48.32, 63.35, -47.92)
CIE-LCHlch(48.32, 79.44, 322.90°)
OKLaboklab(58.2% 0.1669 -0.1338)
OKLCHoklch(58.2% 0.214 321.3)
XYZxyz(30.0418, 17.0467, 54.5204)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140C5 #54C540
analogous
#6E40C5 #B140C5 #C54097
triadic
#B140C5 #C5B140 #40C5B1
tetradic
#B140C5 #C56E40 #54C540 #4097C5
square
#B140C5 #C56E40 #54C540 #4097C5
split-complementary
#B140C5 #97C540 #40C56E
monochromatic
#5F206A #892F99 #B140C5 #C46FD3 #D79EE2

Accessibility & contrast

On white

4.76
#B140C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B140C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140C5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140C5#FFFFFF#000000##FFFFFF
##B140C51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136BC9
Deuteranopia (green-blind)
#4F77C2
Tritanopia (blue-blind)
#B3577E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b140c5;
/* rgb */ color: rgb(177, 64, 197);
/* oklch */ color: oklch(58.2% 0.214 321.3);
Tailwind
colors: {
  custom: {
    50: '#cc7ed7',
    500: '#b140c5',
    950: '#000000',
  },
}
SCSS
$custom: #b140c5;
$custom-light: #cc7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#b140c5",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 290.977,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58197,
    "c": 0.21395,
    "h": 321.3
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#B140C5
secondary
#9CCE93
accent
#DD4B61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B140C5

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

Preview Lab → · Contrast checker → · Palette generator →

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