#8E4AED#8E4AED

#8E4AED is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.231 H 297.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8E4AED
RGBrgb(142, 74, 237)
HSLhsl(265, 82%, 61%)
HSVhsv(265, 69%, 93%)
CMYKcmyk(40.1%, 68.8%, 0%, 7.1%)
CIE-LABlab(47.96, 60.48, -71.55)
CIE-LCHlch(47.96, 93.69, 310.21°)
OKLaboklab(57.81% 0.1077 -0.2043)
OKLCHoklch(57.81% 0.231 297.8)
XYZxyz(28.8862, 16.7623, 81.8179)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4AED #A9ED4A
analogous
#4A57ED #8E4AED #E04AED
triadic
#8E4AED #ED8E4A #4AED8E
tetradic
#8E4AED #ED4A57 #A9ED4A #4AEDE0
square
#8E4AED #ED4A57 #A9ED4A #4AEDE0
split-complementary
#8E4AED #EDE04A #57ED4A
monochromatic
#5211AC #6C17E3 #8E4AED #B182F3 #D4B9F8

Accessibility & contrast

On white

4.82
#8E4AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8E4AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4AED
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4AED#FFFFFF#000000##FFFFFF
##8E4AED1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#777296
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4aed;
/* rgb */ color: rgb(142, 74, 237);
/* oklch */ color: oklch(57.8% 0.231 297.8);
Tailwind
colors: {
  custom: {
    50: '#b681f4',
    500: '#8e4aed',
    950: '#000000',
  },
}
SCSS
$custom: #8e4aed;
$custom-light: #b681f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4aed",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 265.031,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.231,
    "h": 297.8
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#8E4AED
secondary
#CEE8AB
accent
#DE0785
background
#FBF8FF
surface
#F7EFFE
border
#D0CAD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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