#8C1C91#8C1C91

#8C1C91 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.194 H 326.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8C1C91
RGBrgb(140, 28, 145)
HSLhsl(297, 68%, 34%)
HSVhsv(297, 81%, 57%)
CMYKcmyk(3.4%, 80.7%, 0%, 43.1%)
CIE-LABlab(34.91, 58.60, -38.73)
CIE-LCHlch(34.91, 70.25, 326.54°)
OKLaboklab(46.46% 0.161 -0.1078)
OKLCHoklch(46.46% 0.194 326.2)
XYZxyz(16.3410, 8.4514, 27.5532)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1C91 #21911C
analogous
#521C91 #8C1C91 #911C5C
triadic
#8C1C91 #918C1C #1C918C
tetradic
#8C1C91 #91521C #21911C #1C5C91
square
#8C1C91 #91521C #21911C #1C5C91
split-complementary
#8C1C91 #5C911C #1C9152
monochromatic
#29082A #5A125E #8C1C91 #BE26C4 #D64BDC

Accessibility & contrast

On white

7.81
#8C1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8C1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1C91
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1C91#FFFFFF#000000##FFFFFF
##8C1C911.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#3A578E
Tritanopia (blue-blind)
#903257
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8c1c91;
/* rgb */ color: rgb(140, 28, 145);
/* oklch */ color: oklch(46.5% 0.194 326.2);
Tailwind
colors: {
  custom: {
    50: '#b167b2',
    500: '#8c1c91',
    950: '#000000',
  },
}
SCSS
$custom: #8c1c91;
$custom-light: #b167b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1c91",
  "rgb": {
    "r": 140,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 297.436,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.19376,
    "h": 326.2
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#8C1C91
secondary
#4FBE4A
accent
#EB3D45
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C1C91

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

Preview Lab → · Contrast checker → · Palette generator →

#8C1C91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva