#8C4ADE#8C4ADE

#8C4ADE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.214 H 300.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8C4ADE
RGBrgb(140, 74, 222)
HSLhsl(267, 69%, 58%)
HSVhsv(267, 67%, 87%)
CMYKcmyk(36.9%, 66.7%, 0%, 12.9%)
CIE-LABlab(46.64, 56.42, -65.22)
CIE-LCHlch(46.64, 86.23, 310.86°)
OKLaboklab(56.47% 0.1072 -0.1858)
OKLCHoklch(56.47% 0.215 300)
XYZxyz(26.4456, 15.7467, 70.7392)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4ADE #9CDE4A
analogous
#4A52DE #8C4ADE #D64ADE
triadic
#8C4ADE #DE8C4A #4ADE8C
tetradic
#8C4ADE #DE4A52 #9CDE4A #4ADED6
square
#8C4ADE #DE4A52 #9CDE4A #4ADED6
split-complementary
#8C4ADE #DED64A #52DE4A
monochromatic
#501B93 #6D24C7 #8C4ADE #AD7EE7 #CEB2F1

Accessibility & contrast

On white

5.06
#8C4ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8C4ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4ADE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4ADE#FFFFFF#000000##FFFFFF
##8C4ADE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#7A6C8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8c4ade;
/* rgb */ color: rgb(140, 74, 222);
/* oklch */ color: oklch(56.5% 0.214 300.0);
Tailwind
colors: {
  custom: {
    50: '#b381e9',
    500: '#8c4ade',
    950: '#000000',
  },
}
SCSS
$custom: #8c4ade;
$custom-light: #b381e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4ade",
  "rgb": {
    "r": 140,
    "g": 74,
    "b": 222
  },
  "hsl": {
    "h": 266.757,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.2145,
    "h": 300
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#8C4ADE
secondary
#C5DFA4
accent
#EC3C9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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