#8E4FF8#8E4FF8

#8E4FF8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.237 H 295.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8E4FF8
RGBrgb(142, 79, 248)
HSLhsl(262, 92%, 64%)
HSVhsv(262, 68%, 97%)
CMYKcmyk(42.7%, 68.1%, 0%, 2.7%)
CIE-LABlab(49.64, 60.83, -74.98)
CIE-LCHlch(49.64, 96.55, 309.05°)
OKLaboklab(59.27% 0.1012 -0.2144)
OKLCHoklch(59.27% 0.237 295.3)
XYZxyz(30.8901, 18.1193, 90.6586)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FF8 #B9F84F
analogous
#4F65F8 #8E4FF8 #E34FF8
triadic
#8E4FF8 #F88E4F #4FF88E
tetradic
#8E4FF8 #F84F65 #B9F84F #4FF8E3
square
#8E4FF8 #F84F65 #B9F84F #4FF8E3
split-complementary
#8E4FF8 #F8E34F #65F84F
monochromatic
#4E08C5 #6814F6 #8E4FF8 #B48AFA #DAC5FD

Accessibility & contrast

On white

4.54
#8E4FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8E4FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E4FF8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FF8#FFFFFF#000000##000000
##8E4FF81.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FD
Deuteranopia (green-blind)
#0073F5
Tritanopia (blue-blind)
#71799E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e4ff8;
/* rgb */ color: rgb(142, 79, 248);
/* oklch */ color: oklch(59.3% 0.237 295.3);
Tailwind
colors: {
  custom: {
    50: '#b785fc',
    500: '#8e4ff8',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ff8;
$custom-light: #b785fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ff8",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 262.367,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.23712,
    "h": 295.3
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

primary
#8E4FF8
secondary
#D9EFB4
accent
#E60090
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8E4FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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