#8C2194#8C2194

#8C2194 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.191 H 324.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8C2194
RGBrgb(140, 33, 148)
HSLhsl(296, 64%, 35%)
HSVhsv(296, 78%, 58%)
CMYKcmyk(5.4%, 77.7%, 0%, 42%)
CIE-LABlab(35.60, 57.65, -39.46)
CIE-LCHlch(35.60, 69.86, 325.61°)
OKLaboklab(47.01% 0.1567 -0.11)
OKLCHoklch(47.01% 0.191 324.9)
XYZxyz(16.7040, 8.8024, 28.8304)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2194 #299421
analogous
#522194 #8C2194 #942162
triadic
#8C2194 #948C21 #21948C
tetradic
#8C2194 #945221 #299421 #216294
square
#8C2194 #945221 #299421 #216294
split-complementary
#8C2194 #629421 #219452
monochromatic
#2D0B30 #5D1662 #8C2194 #BB2CC6 #D056D9

Accessibility & contrast

On white

7.61
#8C2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8C2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2194
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2194#FFFFFF#000000##FFFFFF
##8C21941.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#3A5891
Tritanopia (blue-blind)
#8F365A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8c2194;
/* rgb */ color: rgb(140, 33, 148);
/* oklch */ color: oklch(47.0% 0.191 324.9);
Tailwind
colors: {
  custom: {
    50: '#b169b4',
    500: '#8c2194',
    950: '#000000',
  },
}
SCSS
$custom: #8c2194;
$custom-light: #b169b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2194",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 295.826,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47014,
    "c": 0.19145,
    "h": 324.9
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#8C2194
secondary
#5BBD54
accent
#E7414D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C2194

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

Preview Lab → · Contrast checker → · Palette generator →

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