#8E4FEB#8E4FEB

#8E4FEB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.223 H 297.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8E4FEB
RGBrgb(142, 79, 235)
HSLhsl(264, 80%, 62%)
HSVhsv(264, 66%, 92%)
CMYKcmyk(39.6%, 66.4%, 0%, 7.8%)
CIE-LABlab(48.69, 57.57, -69.25)
CIE-LCHlch(48.69, 90.05, 309.74°)
OKLaboklab(58.28% 0.1031 -0.1976)
OKLCHoklch(58.28% 0.223 297.6)
XYZxyz(28.9429, 17.3404, 80.4033)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FEB #ACEB4F
analogous
#4F5EEB #8E4FEB #DC4FEB
triadic
#8E4FEB #EB8E4F #4FEB8E
tetradic
#8E4FEB #EB4F5E #ACEB4F #4FEBDC
square
#8E4FEB #EB4F5E #ACEB4F #4FEBDC
split-complementary
#8E4FEB #EBDC4F #5EEB4F
monochromatic
#5114AC #6B1AE3 #8E4FEB #B186F1 #D5BDF7

Accessibility & contrast

On white

4.70
#8E4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8E4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FEB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FEB#FFFFFF#000000##FFFFFF
##8E4FEB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#777497
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e4feb;
/* rgb */ color: rgb(142, 79, 235);
/* oklch */ color: oklch(58.3% 0.223 297.6);
Tailwind
colors: {
  custom: {
    50: '#b684f2',
    500: '#8e4feb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4feb;
$custom-light: #b684f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4feb",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 264.231,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58284,
    "c": 0.22285,
    "h": 297.6
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#8E4FEB
secondary
#D0E8AE
accent
#DC0A87
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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