#8E4DE1#8E4DE1

#8E4DE1 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.214 H 299.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8E4DE1
RGBrgb(142, 77, 225)
HSLhsl(266, 71%, 59%)
HSVhsv(266, 66%, 88%)
CMYKcmyk(36.9%, 65.8%, 0%, 11.8%)
CIE-LABlab(47.62, 56.08, -65.33)
CIE-LCHlch(47.62, 86.10, 310.64°)
OKLaboklab(57.29% 0.1064 -0.1861)
OKLCHoklch(57.29% 0.214 299.8)
XYZxyz(27.3965, 16.4945, 72.9600)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DE1 #A0E14D
analogous
#4D56E1 #8E4DE1 #D84DE1
triadic
#8E4DE1 #E18E4D #4DE18E
tetradic
#8E4DE1 #E14D56 #A0E14D #4DE1D8
square
#8E4DE1 #E14D56 #A0E14D #4DE1D8
split-complementary
#8E4DE1 #E1D84D #56E14D
monochromatic
#521A9A #6E23CE #8E4DE1 #AF81EA #D0B6F3

Accessibility & contrast

On white

4.88
#8E4DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8E4DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DE1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DE1#FFFFFF#000000##FFFFFF
##8E4DE11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#7B6F91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e4de1;
/* rgb */ color: rgb(142, 77, 225);
/* oklch */ color: oklch(57.3% 0.214 299.8);
Tailwind
colors: {
  custom: {
    50: '#b583eb',
    500: '#8e4de1',
    950: '#000000',
  },
}
SCSS
$custom: #8e4de1;
$custom-light: #b583eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4de1",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 266.351,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.21432,
    "h": 299.8
  },
  "luminance": 0.16495
}

Semantic roles & 50–950 ramp

primary
#8E4DE1
secondary
#C8E2A8
accent
#EE3A9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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