#8E4ADC#8E4ADC

#8E4ADC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.213 H 301.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8E4ADC
RGBrgb(142, 74, 220)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 66%, 86%)
CMYKcmyk(35.5%, 66.4%, 0%, 13.7%)
CIE-LABlab(46.73, 56.33, -63.92)
CIE-LCHlch(46.73, 85.20, 311.39°)
OKLaboklab(56.55% 0.1101 -0.1819)
OKLCHoklch(56.55% 0.213 301.2)
XYZxyz(26.5193, 15.8155, 69.3518)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ADC #98DC4A
analogous
#4A4FDC #8E4ADC #D74ADC
triadic
#8E4ADC #DC8E4A #4ADC8E
tetradic
#8E4ADC #DC4A4F #98DC4A #4ADCD7
square
#8E4ADC #DC4A4F #98DC4A #4ADCD7
split-complementary
#8E4ADC #DCD74A #4FDC4A
monochromatic
#521C90 #6F26C3 #8E4ADC #AE7DE6 #CEB1F0

Accessibility & contrast

On white

5.04
#8E4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8E4ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4ADC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4ADC#FFFFFF#000000##FFFFFF
##8E4ADC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#7D6B8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4adc;
/* rgb */ color: rgb(142, 74, 220);
/* oklch */ color: oklch(56.5% 0.213 301.2);
Tailwind
colors: {
  custom: {
    50: '#b581e8',
    500: '#8e4adc',
    950: '#000000',
  },
}
SCSS
$custom: #8e4adc;
$custom-light: #b581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4adc",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 267.945,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.21265,
    "h": 301.2
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#8E4ADC
secondary
#C3DEA4
accent
#EA3D9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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