#8E4FE9#8E4FE9

#8E4FE9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.221 H 297.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8E4FE9
RGBrgb(142, 79, 233)
HSLhsl(265, 78%, 61%)
HSVhsv(265, 66%, 91%)
CMYKcmyk(39.1%, 66.1%, 0%, 8.6%)
CIE-LABlab(48.54, 57.07, -68.35)
CIE-LCHlch(48.54, 89.04, 309.86°)
OKLaboklab(58.14% 0.1033 -0.195)
OKLCHoklch(58.14% 0.221 297.9)
XYZxyz(28.6555, 17.2255, 78.8901)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FE9 #AAE94F
analogous
#4F5DE9 #8E4FE9 #DB4FE9
triadic
#8E4FE9 #E98E4F #4FE98E
tetradic
#8E4FE9 #E94F5D #AAE94F #4FE9DB
square
#8E4FE9 #E94F5D #AAE94F #4FE9DB
split-complementary
#8E4FE9 #E9DB4F #5DE94F
monochromatic
#5115A9 #6C1CDF #8E4FE9 #B185F0 #D4BCF7

Accessibility & contrast

On white

4.72
#8E4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8E4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FE9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FE9#FFFFFF#000000##FFFFFF
##8E4FE91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#787396
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e4fe9;
/* rgb */ color: rgb(142, 79, 233);
/* oklch */ color: oklch(58.1% 0.221 297.9);
Tailwind
colors: {
  custom: {
    50: '#b584f1',
    500: '#8e4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fe9;
$custom-light: #b584f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fe9",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 264.545,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.22065,
    "h": 297.9
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#8E4FE9
secondary
#CFE7AD
accent
#DA0B86
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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