#8E4AE3#8E4AE3

#8E4AE3 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.220 H 299.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E4AE3
RGBrgb(142, 74, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 67%, 89%)
CMYKcmyk(37.4%, 67.4%, 0%, 11%)
CIE-LABlab(47.23, 58.03, -67.09)
CIE-LCHlch(47.23, 88.71, 310.86°)
OKLaboklab(57.06% 0.1092 -0.1912)
OKLCHoklch(57.06% 0.22 299.7)
XYZxyz(27.4658, 16.1941, 74.3369)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4AE3 #9FE34A
analogous
#4A53E3 #8E4AE3 #DB4AE3
triadic
#8E4AE3 #E38E4A #4AE38E
tetradic
#8E4AE3 #E34A53 #9FE34A #4AE3DB
square
#8E4AE3 #E34A53 #9FE34A #4AE3DB
split-complementary
#8E4AE3 #E3DB4A #53E34A
monochromatic
#52189B #6E20D0 #8E4AE3 #AF7FEB #D0B4F3

Accessibility & contrast

On white

4.95
#8E4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8E4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4AE3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4AE3#FFFFFF#000000##FFFFFF
##8E4AE31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#7B6E91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4ae3;
/* rgb */ color: rgb(142, 74, 227);
/* oklch */ color: oklch(57.1% 0.220 299.7);
Tailwind
colors: {
  custom: {
    50: '#b581ed',
    500: '#8e4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ae3;
$custom-light: #b581ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ae3",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 266.667,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.22023,
    "h": 299.7
  },
  "luminance": 0.16194
}

Semantic roles & 50–950 ramp

primary
#8E4AE3
secondary
#C8E2A6
accent
#F0389E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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