#8E4ADD#8E4ADD

#8E4ADD is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.214 H 301.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8E4ADD
RGBrgb(142, 74, 221)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 67%, 87%)
CMYKcmyk(35.7%, 66.5%, 0%, 13.3%)
CIE-LABlab(46.80, 56.57, -64.38)
CIE-LCHlch(46.80, 85.70, 311.31°)
OKLaboklab(56.62% 0.11 -0.1832)
OKLCHoklch(56.62% 0.214 301)
XYZxyz(26.6521, 15.8686, 70.0514)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ADD #99DD4A
analogous
#4A4FDD #8E4ADD #D74ADD
triadic
#8E4ADD #DD8E4A #4ADD8E
tetradic
#8E4ADD #DD4A4F #99DD4A #4ADDD7
square
#8E4ADD #DD4A4F #99DD4A #4ADDD7
split-complementary
#8E4ADD #DDD74A #4FDD4A
monochromatic
#521B91 #6F25C5 #8E4ADD #AE7EE7 #CEB1F0

Accessibility & contrast

On white

5.03
#8E4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8E4ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4ADD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4ADD#FFFFFF#000000##FFFFFF
##8E4ADD1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#7D6C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4add;
/* rgb */ color: rgb(142, 74, 221);
/* oklch */ color: oklch(56.6% 0.214 301.0);
Tailwind
colors: {
  custom: {
    50: '#b581e8',
    500: '#8e4add',
    950: '#000000',
  },
}
SCSS
$custom: #8e4add;
$custom-light: #b581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4add",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 267.755,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.21374,
    "h": 301
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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