#8C1985#8C1985

#8C1985 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.187 H 331.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8C1985
RGBrgb(140, 25, 133)
HSLhsl(304, 70%, 32%)
HSVhsv(304, 82%, 55%)
CMYKcmyk(0%, 82.1%, 5%, 45.1%)
CIE-LABlab(33.91, 57.43, -32.91)
CIE-LCHlch(33.91, 66.19, 330.19°)
OKLaboklab(45.52% 0.1637 -0.0908)
OKLCHoklch(45.52% 0.187 331)
XYZxyz(15.3965, 7.9654, 22.9123)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1985 #198C20
analogous
#59198C #8C1985 #8C194C
triadic
#8C1985 #858C19 #19858C
tetradic
#8C1985 #8C5919 #198C20 #194C8C
square
#8C1985 #8C5919 #198C20 #194C8C
split-complementary
#8C1985 #4C8C19 #198C59
monochromatic
#240622 #581054 #8C1985 #C022B6 #DD42D4

Accessibility & contrast

On white

8.10
#8C1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8C1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1985
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1985#FFFFFF#000000##FFFFFF
##8C19851.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074688
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#922A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c1985;
/* rgb */ color: rgb(140, 25, 133);
/* oklch */ color: oklch(45.5% 0.187 331.0);
Tailwind
colors: {
  custom: {
    50: '#b166a9',
    500: '#8c1985',
    950: '#000000',
  },
}
SCSS
$custom: #8c1985;
$custom-light: #b166a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1985",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 303.652,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.18725,
    "h": 331
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#8C1985
secondary
#43BE4A
accent
#ED463B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C1985

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

Preview Lab → · Contrast checker → · Palette generator →

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