#8C1990#8C1990

#8C1990 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.196 H 326.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8C1990
RGBrgb(140, 25, 144)
HSLhsl(298, 70%, 33%)
HSVhsv(298, 83%, 56%)
CMYKcmyk(2.8%, 82.6%, 0%, 43.5%)
CIE-LABlab(34.57, 59.23, -38.66)
CIE-LCHlch(34.57, 70.73, 326.87°)
OKLaboklab(46.2% 0.1633 -0.1076)
OKLCHoklch(46.2% 0.196 326.6)
XYZxyz(16.1966, 8.2855, 27.1263)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1990 #1D9019
analogous
#501990 #8C1990 #901958
triadic
#8C1990 #908C19 #19908C
tetradic
#8C1990 #905019 #1D9019 #195890
square
#8C1990 #905019 #1D9019 #195890
split-complementary
#8C1990 #589019 #199050
monochromatic
#270728 #59105C #8C1990 #BF22C4 #D945DF

Accessibility & contrast

On white

7.90
#8C1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8C1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1990
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1990#FFFFFF#000000##FFFFFF
##8C19901.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#903056
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8c1990;
/* rgb */ color: rgb(140, 25, 144);
/* oklch */ color: oklch(46.2% 0.196 326.6);
Tailwind
colors: {
  custom: {
    50: '#b166b1',
    500: '#8c1990',
    950: '#000000',
  },
}
SCSS
$custom: #8c1990;
$custom-light: #b166b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1990",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 297.983,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46203,
    "c": 0.19553,
    "h": 326.6
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#8C1990
secondary
#49C045
accent
#ED3B41
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8C1990

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

Preview Lab → · Contrast checker → · Palette generator →

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