#8C117F#8C117F

#8C117F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.189 H 333.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8C117F
RGBrgb(140, 17, 127)
HSLhsl(306, 78%, 31%)
HSVhsv(306, 88%, 55%)
CMYKcmyk(0%, 87.9%, 9.3%, 45.1%)
CIE-LABlab(32.94, 58.33, -30.70)
CIE-LCHlch(32.94, 65.91, 332.24°)
OKLaboklab(44.72% 0.1691 -0.0844)
OKLCHoklch(44.72% 0.189 333.5)
XYZxyz(14.8466, 7.5100, 20.7422)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C117F #118C1E
analogous
#5B118C #8C117F #8C1142
triadic
#8C117F #7F8C11 #117F8C
tetradic
#8C117F #8C5B11 #118C1E #11428C
square
#8C117F #8C5B11 #118C1E #11428C
split-complementary
#8C117F #428C11 #118C5B
monochromatic
#1F041C #550A4D #8C117F #C318B1 #E631D3

Accessibility & contrast

On white

8.39
#8C117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8C117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C117F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C117F#FFFFFF#000000##FFFFFF
##8C117F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084382
Deuteranopia (green-blind)
#41537C
Tritanopia (blue-blind)
#93224B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c117f;
/* rgb */ color: rgb(140, 17, 127);
/* oklch */ color: oklch(44.7% 0.189 333.5);
Tailwind
colors: {
  custom: {
    50: '#b263a4',
    500: '#8c117f',
    950: '#000000',
  },
}
SCSS
$custom: #8c117f;
$custom-light: #b263a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c117f",
  "rgb": {
    "r": 140,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 306.341,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44722,
    "c": 0.18895,
    "h": 333.5
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#8C117F
secondary
#38C147
accent
#F54733
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C117F

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

Preview Lab → · Contrast checker → · Palette generator →

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