#8C4ADD#8C4ADD

#8C4ADD is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.213 H 300.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8C4ADD
RGBrgb(140, 74, 221)
HSLhsl(267, 68%, 58%)
HSVhsv(267, 67%, 87%)
CMYKcmyk(36.7%, 66.5%, 0%, 13.3%)
CIE-LABlab(46.57, 56.17, -64.76)
CIE-LCHlch(46.57, 85.73, 310.94°)
OKLaboklab(56.4% 0.1073 -0.1844)
OKLCHoklch(56.4% 0.213 300.2)
XYZxyz(26.3119, 15.6932, 70.0355)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4ADD #9BDD4A
analogous
#4A51DD #8C4ADD #D64ADD
triadic
#8C4ADD #DD8C4A #4ADD8C
tetradic
#8C4ADD #DD4A51 #9BDD4A #4ADDD6
square
#8C4ADD #DD4A51 #9BDD4A #4ADDD6
split-complementary
#8C4ADD #DDD64A #51DD4A
monochromatic
#501B91 #6D25C5 #8C4ADD #AD7EE7 #CDB1F0

Accessibility & contrast

On white

5.07
#8C4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8C4ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4ADD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4ADD#FFFFFF#000000##FFFFFF
##8C4ADD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#7A6C8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8c4add;
/* rgb */ color: rgb(140, 74, 221);
/* oklch */ color: oklch(56.4% 0.213 300.2);
Tailwind
colors: {
  custom: {
    50: '#b381e8',
    500: '#8c4add',
    950: '#000000',
  },
}
SCSS
$custom: #8c4add;
$custom-light: #b381e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4add",
  "rgb": {
    "r": 140,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 266.939,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.564,
    "c": 0.2134,
    "h": 300.2
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#8C4ADD
secondary
#C4DFA4
accent
#EB3D9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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