#8E4FE4#8E4FE4

#8E4FE4 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.215 H 298.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8E4FE4
RGBrgb(142, 79, 228)
HSLhsl(265, 73%, 60%)
HSVhsv(265, 65%, 89%)
CMYKcmyk(37.7%, 65.4%, 0%, 10.6%)
CIE-LABlab(48.19, 55.82, -66.10)
CIE-LCHlch(48.19, 86.52, 310.18°)
OKLaboklab(57.77% 0.1039 -0.1883)
OKLCHoklch(57.77% 0.215 298.9)
XYZxyz(27.9514, 16.9438, 75.1816)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FE4 #A5E44F
analogous
#4F5BE4 #8E4FE4 #D84FE4
triadic
#8E4FE4 #E48E4F #4FE48E
tetradic
#8E4FE4 #E44F5B #A5E44F #4FE4D8
square
#8E4FE4 #E44F5B #A5E44F #4FE4D8
split-complementary
#8E4FE4 #E4D84F #5BE44F
monochromatic
#5219A0 #6D21D5 #8E4FE4 #B084EC #D2B9F4

Accessibility & contrast

On white

4.78
#8E4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8E4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FE4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FE4#FFFFFF#000000##FFFFFF
##8E4FE41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#7A7193
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4fe4;
/* rgb */ color: rgb(142, 79, 228);
/* oklch */ color: oklch(57.8% 0.215 298.9);
Tailwind
colors: {
  custom: {
    50: '#b584ed',
    500: '#8e4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fe4;
$custom-light: #b584ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fe4",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 265.369,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.2151,
    "h": 298.9
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#8E4FE4
secondary
#CCE4AB
accent
#D61082
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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