#8C199E#8C199E

#8C199E is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.206 H 321.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8C199E
RGBrgb(140, 25, 158)
HSLhsl(292, 73%, 36%)
HSVhsv(292, 84%, 62%)
CMYKcmyk(11.4%, 84.2%, 0%, 38%)
CIE-LABlab(35.48, 61.65, -45.74)
CIE-LCHlch(35.48, 76.77, 323.43°)
OKLaboklab(47.14% 0.1617 -0.1283)
OKLCHoklch(47.14% 0.206 321.6)
XYZxyz(17.3337, 8.7403, 33.1152)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C199E #2B9E19
analogous
#49199E #8C199E #9E196D
triadic
#8C199E #9E8C19 #199E8C
tetradic
#8C199E #9E4919 #2B9E19 #196D9E
square
#8C199E #9E4919 #2B9E19 #196D9E
split-complementary
#8C199E #6D9E19 #199E49
monochromatic
#2E0834 #5D1169 #8C199E #BB21D3 #CF4EE3

Accessibility & contrast

On white

7.64
#8C199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8C199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C199E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C199E#FFFFFF#000000##FFFFFF
##8C199E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#2D579B
Tritanopia (blue-blind)
#8D385E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8c199e;
/* rgb */ color: rgb(140, 25, 158);
/* oklch */ color: oklch(47.1% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#b267bb',
    500: '#8c199e',
    950: '#000000',
  },
}
SCSS
$custom: #8c199e;
$custom-light: #b267bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c199e",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 291.88,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.20643,
    "h": 321.6
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#8C199E
secondary
#5EC54E
accent
#EF3851
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C199E

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

Preview Lab → · Contrast checker → · Palette generator →

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