#8C1785#8C1785

#8C1785 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 331.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8C1785
RGBrgb(140, 23, 133)
HSLhsl(304, 72%, 32%)
HSVhsv(304, 84%, 55%)
CMYKcmyk(0%, 83.6%, 5%, 45.1%)
CIE-LABlab(33.74, 57.93, -33.18)
CIE-LCHlch(33.74, 66.76, 330.20°)
OKLaboklab(45.4% 0.1652 -0.0916)
OKLCHoklch(45.4% 0.189 331)
XYZxyz(15.3552, 7.8830, 22.8986)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1785 #178C1E
analogous
#59178C #8C1785 #8C174B
triadic
#8C1785 #858C17 #17858C
tetradic
#8C1785 #8C5917 #178C1E #174B8C
square
#8C1785 #8C5917 #178C1E #174B8C
split-complementary
#8C1785 #4B8C17 #178C59
monochromatic
#230621 #570E53 #8C1785 #C120B7 #DF3ED6

Accessibility & contrast

On white

8.15
#8C1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8C1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1785
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1785#FFFFFF#000000##FFFFFF
##8C17851.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#3F5582
Tritanopia (blue-blind)
#92294F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c1785;
/* rgb */ color: rgb(140, 23, 133);
/* oklch */ color: oklch(45.4% 0.189 331.0);
Tailwind
colors: {
  custom: {
    50: '#b165a9',
    500: '#8c1785',
    950: '#000000',
  },
}
SCSS
$custom: #8c1785;
$custom-light: #b165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1785",
  "rgb": {
    "r": 140,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 303.59,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.454,
    "c": 0.18888,
    "h": 331
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#8C1785
secondary
#3FBF47
accent
#EF4439
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C1785

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

Preview Lab → · Contrast checker → · Palette generator →

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