#8E4DE6#8E4DE6

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

Color values

HEX#8E4DE6
RGBrgb(142, 77, 230)
HSLhsl(265, 75%, 60%)
HSVhsv(265, 67%, 90%)
CMYKcmyk(38.3%, 66.5%, 0%, 9.8%)
CIE-LABlab(47.97, 57.31, -67.59)
CIE-LCHlch(47.97, 88.61, 310.30°)
OKLaboklab(57.66% 0.1058 -0.1927)
OKLCHoklch(57.66% 0.22 298.8)
XYZxyz(28.0885, 16.7713, 76.6049)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DE6 #A5E64D
analogous
#4D59E6 #8E4DE6 #DA4DE6
triadic
#8E4DE6 #E68E4D #4DE68E
tetradic
#8E4DE6 #E64D59 #A5E64D #4DE6DA
square
#8E4DE6 #E64D59 #A5E64D #4DE6DA
split-complementary
#8E4DE6 #E6DA4D #59E64D
monochromatic
#5217A2 #6D1ED8 #8E4DE6 #B083EE #D2B8F5

Accessibility & contrast

On white

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

On black

4.35
#8E4DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E4DE6#FFFFFF#000000##FFFFFF
##8E4DE61.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#797193
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4de6;
/* rgb */ color: rgb(142, 77, 230);
/* oklch */ color: oklch(57.7% 0.220 298.8);
Tailwind
colors: {
  custom: {
    50: '#b583ef',
    500: '#8e4de6',
    950: '#000000',
  },
}
SCSS
$custom: #8e4de6;
$custom-light: #b583ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4de6",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 265.49,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.21981,
    "h": 298.8
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#8E4DE6
secondary
#CCE5AA
accent
#D80E82
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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