#B140C8#B140C8

#B140C8 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.217 H 320.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B140C8
RGBrgb(177, 64, 200)
HSLhsl(290, 55%, 52%)
HSVhsv(290, 68%, 78%)
CMYKcmyk(11.5%, 68%, 0%, 21.6%)
CIE-LABlab(48.49, 63.91, -49.38)
CIE-LCHlch(48.49, 80.76, 322.31°)
OKLaboklab(58.38% 0.1668 -0.1381)
OKLCHoklch(58.38% 0.217 320.4)
XYZxyz(30.3889, 17.1856, 56.3488)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140C8 #57C840
analogous
#6D40C8 #B140C8 #C8409B
triadic
#B140C8 #C8B140 #40C8B1
tetradic
#B140C8 #C86D40 #57C840 #409BC8
square
#B140C8 #C86D40 #57C840 #409BC8
split-complementary
#B140C8 #9BC840 #40C86D
monochromatic
#61206E #8A2D9D #B140C8 #C470D6 #D89FE3

Accessibility & contrast

On white

4.73
#B140C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B140C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140C8#FFFFFF#000000##FFFFFF
##B140C81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#B2587F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b140c8;
/* rgb */ color: rgb(177, 64, 200);
/* oklch */ color: oklch(58.4% 0.217 320.4);
Tailwind
colors: {
  custom: {
    50: '#cc7ed9',
    500: '#b140c8',
    950: '#000000',
  },
}
SCSS
$custom: #b140c8;
$custom-light: #cc7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#b140c8",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 289.853,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.21656,
    "h": 320.4
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#B140C8
secondary
#9ED094
accent
#DF4962
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B140C8

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

Preview Lab → · Contrast checker → · Palette generator →

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