#8C4EAE#8C4EAE

#8C4EAE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.155 H 312.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8C4EAE
RGBrgb(140, 78, 174)
HSLhsl(279, 38%, 49%)
HSVhsv(279, 55%, 68%)
CMYKcmyk(19.5%, 55.2%, 0%, 31.8%)
CIE-LABlab(44.35, 43.00, -41.12)
CIE-LCHlch(44.35, 59.50, 316.28°)
OKLaboklab(53.84% 0.1041 -0.1151)
OKLCHoklch(53.84% 0.155 312.1)
XYZxyz(21.1782, 14.0807, 41.6384)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4EAE #70AE4E
analogous
#5C4EAE #8C4EAE #AE4EA0
triadic
#8C4EAE #AE8C4E #4EAE8C
tetradic
#8C4EAE #AE5C4E #70AE4E #4EA0AE
square
#8C4EAE #AE5C4E #70AE4E #4EA0AE
split-complementary
#8C4EAE #A0AE4E #4EAE5C
monochromatic
#482859 #6A3B84 #8C4EAE #A877C2 #C3A1D5

Accessibility & contrast

On white

5.50
#8C4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8C4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4EAE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4EAE#FFFFFF#000000##FFFFFF
##8C4EAE1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#885E76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8c4eae;
/* rgb */ color: rgb(140, 78, 174);
/* oklch */ color: oklch(53.8% 0.155 312.1);
Tailwind
colors: {
  custom: {
    50: '#b082c6',
    500: '#8c4eae',
    950: '#000000',
  },
}
SCSS
$custom: #8c4eae;
$custom-light: #b082c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4eae",
  "rgb": {
    "r": 140,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 278.75,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.1552,
    "h": 312.1
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#8C4EAE
secondary
#A5C296
accent
#CE5A83
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8C4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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