#8E4AE0#8E4AE0

#8E4AE0 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.217 H 300.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8E4AE0
RGBrgb(142, 74, 224)
HSLhsl(267, 71%, 58%)
HSVhsv(267, 67%, 88%)
CMYKcmyk(36.6%, 67%, 0%, 12.2%)
CIE-LABlab(47.01, 57.30, -65.74)
CIE-LCHlch(47.01, 87.20, 311.07°)
OKLaboklab(56.84% 0.1096 -0.1872)
OKLCHoklch(56.84% 0.217 300.4)
XYZxyz(27.0554, 16.0299, 72.1753)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4AE0 #9CE04A
analogous
#4A51E0 #8E4AE0 #D94AE0
triadic
#8E4AE0 #E08E4A #4AE08E
tetradic
#8E4AE0 #E04A51 #9CE04A #4AE0D9
square
#8E4AE0 #E04A51 #9CE04A #4AE0D9
split-complementary
#8E4AE0 #E0D94A #51E04A
monochromatic
#521A96 #6F23CA #8E4AE0 #AF7EE9 #CFB3F2

Accessibility & contrast

On white

4.99
#8E4AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8E4AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4AE0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4AE0#FFFFFF#000000##FFFFFF
##8E4AE01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#7C6D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4ae0;
/* rgb */ color: rgb(142, 74, 224);
/* oklch */ color: oklch(56.8% 0.217 300.4);
Tailwind
colors: {
  custom: {
    50: '#b581eb',
    500: '#8e4ae0',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ae0;
$custom-light: #b581eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ae0",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 267.2,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.21699,
    "h": 300.4
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

primary
#8E4AE0
secondary
#C6E1A5
accent
#EE3A9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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