#8E4FE1#8E4FE1

#8E4FE1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.212 H 299.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8E4FE1
RGBrgb(142, 79, 225)
HSLhsl(266, 71%, 60%)
HSVhsv(266, 65%, 88%)
CMYKcmyk(36.9%, 64.9%, 0%, 11.8%)
CIE-LABlab(47.98, 55.08, -64.74)
CIE-LCHlch(47.98, 85.00, 310.39°)
OKLaboklab(57.55% 0.1043 -0.1843)
OKLCHoklch(57.55% 0.212 299.5)
XYZxyz(27.5386, 16.7787, 73.0073)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FE1 #A2E14F
analogous
#4F59E1 #8E4FE1 #D74FE1
triadic
#8E4FE1 #E18E4F #4FE18E
tetradic
#8E4FE1 #E14F59 #A2E14F #4FE1D7
square
#8E4FE1 #E14F59 #A2E14F #4FE1D7
split-complementary
#8E4FE1 #E1D74F #59E14F
monochromatic
#521A9B #6E23CF #8E4FE1 #B083EA #D1B8F3

Accessibility & contrast

On white

4.82
#8E4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8E4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FE1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FE1#FFFFFF#000000##FFFFFF
##8E4FE11.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#7B7091
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4fe1;
/* rgb */ color: rgb(142, 79, 225);
/* oklch */ color: oklch(57.6% 0.212 299.5);
Tailwind
colors: {
  custom: {
    50: '#b584eb',
    500: '#8e4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fe1;
$custom-light: #b584eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fe1",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 265.89,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.21177,
    "h": 299.5
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#8E4FE1
secondary
#CAE2AA
accent
#EE3AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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