#8C1983#8C1983

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

Color values

HEX#8C1983
RGBrgb(140, 25, 131)
HSLhsl(305, 70%, 32%)
HSVhsv(305, 82%, 55%)
CMYKcmyk(0%, 82.1%, 6.4%, 45.1%)
CIE-LABlab(33.80, 57.11, -31.84)
CIE-LCHlch(33.80, 65.39, 330.86°)
OKLaboklab(45.4% 0.1637 -0.0878)
OKLCHoklch(45.4% 0.186 331.8)
XYZxyz(15.2596, 7.9107, 22.1916)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1983 #198C22
analogous
#5C198C #8C1983 #8C1949
triadic
#8C1983 #838C19 #19838C
tetradic
#8C1983 #8C5C19 #198C22 #19498C
square
#8C1983 #8C5C19 #198C22 #19498C
split-complementary
#8C1983 #498C19 #198C5C
monochromatic
#240622 #581052 #8C1983 #C022B4 #DD42D1

Accessibility & contrast

On white

8.13
#8C1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1983
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1983#FFFFFF#000000##FFFFFF
##8C19831.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4586
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#92294E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c1983;
/* rgb */ color: rgb(140, 25, 131);
/* oklch */ color: oklch(45.4% 0.186 331.8);
Tailwind
colors: {
  custom: {
    50: '#b166a7',
    500: '#8c1983',
    950: '#000000',
  },
}
SCSS
$custom: #8c1983;
$custom-light: #b166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1983",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 304.696,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.18577,
    "h": 331.8
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#8C1983
secondary
#43BE4C
accent
#ED493B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8C1983

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

Preview Lab → · Contrast checker → · Palette generator →

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