#8E4FE0#8E4FE0

#8E4FE0 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.211 H 299.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8E4FE0
RGBrgb(142, 79, 224)
HSLhsl(266, 70%, 59%)
HSVhsv(266, 65%, 88%)
CMYKcmyk(36.6%, 64.7%, 0%, 12.2%)
CIE-LABlab(47.91, 54.83, -64.29)
CIE-LCHlch(47.91, 84.49, 310.46°)
OKLaboklab(57.48% 0.1044 -0.183)
OKLCHoklch(57.48% 0.211 299.7)
XYZxyz(27.4025, 16.7243, 72.2910)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FE0 #A1E04F
analogous
#4F59E0 #8E4FE0 #D74FE0
triadic
#8E4FE0 #E08E4F #4FE08E
tetradic
#8E4FE0 #E04F59 #A1E04F #4FE0D7
square
#8E4FE0 #E04F59 #A1E04F #4FE0D7
split-complementary
#8E4FE0 #E0D74F #59E04F
monochromatic
#521B9A #6E24CE #8E4FE0 #AF83E9 #D1B7F2

Accessibility & contrast

On white

4.83
#8E4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E4FE0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FE0#FFFFFF#000000##FFFFFF
##8E4FE01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#7C7091
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4fe0;
/* rgb */ color: rgb(142, 79, 224);
/* oklch */ color: oklch(57.5% 0.211 299.7);
Tailwind
colors: {
  custom: {
    50: '#b584eb',
    500: '#8e4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fe0;
$custom-light: #b584eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fe0",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 266.069,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.21066,
    "h": 299.7
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#8E4FE0
secondary
#C9E2A9
accent
#ED3BA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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