#8C1996#8C1996

#8C1996 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.200 H 324.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8C1996
RGBrgb(140, 25, 150)
HSLhsl(295, 71%, 34%)
HSVhsv(295, 83%, 59%)
CMYKcmyk(6.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(34.95, 60.25, -41.72)
CIE-LCHlch(34.95, 73.29, 325.30°)
OKLaboklab(46.59% 0.1627 -0.1165)
OKLCHoklch(46.59% 0.2 324.4)
XYZxyz(16.6674, 8.4738, 29.6060)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1996 #239619
analogous
#4E1996 #8C1996 #961962
triadic
#8C1996 #968C19 #19968C
tetradic
#8C1996 #964E19 #239619 #196296
square
#8C1996 #964E19 #239619 #196296
split-complementary
#8C1996 #629619 #19964E
monochromatic
#2A082D #5B1062 #8C1996 #BD22CA #D449E1

Accessibility & contrast

On white

7.79
#8C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8C1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1996
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1996#FFFFFF#000000##FFFFFF
##8C19961.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#355793
Tritanopia (blue-blind)
#8F3359
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8c1996;
/* rgb */ color: rgb(140, 25, 150);
/* oklch */ color: oklch(46.6% 0.200 324.4);
Tailwind
colors: {
  custom: {
    50: '#b267b5',
    500: '#8c1996',
    950: '#000000',
  },
}
SCSS
$custom: #8c1996;
$custom-light: #b267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1996",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 295.2,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46594,
    "c": 0.20016,
    "h": 324.4
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#8C1996
secondary
#52C249
accent
#EE3A48
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C1996

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

Preview Lab → · Contrast checker → · Palette generator →

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