#8E4DE3#8E4DE3

#8E4DE3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.217 H 299.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8E4DE3
RGBrgb(142, 77, 227)
HSLhsl(266, 73%, 60%)
HSVhsv(266, 66%, 89%)
CMYKcmyk(37.4%, 66.1%, 0%, 11%)
CIE-LABlab(47.76, 56.57, -66.23)
CIE-LCHlch(47.76, 87.10, 310.50°)
OKLaboklab(57.44% 0.1061 -0.1887)
OKLCHoklch(57.44% 0.217 299.4)
XYZxyz(27.6709, 16.6043, 74.4053)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DE3 #A2E34D
analogous
#4D57E3 #8E4DE3 #D94DE3
triadic
#8E4DE3 #E38E4D #4DE38E
tetradic
#8E4DE3 #E34D57 #A2E34D #4DE3D9
square
#8E4DE3 #E34D57 #A2E34D #4DE3D9
split-complementary
#8E4DE3 #E3D94D #57E34D
monochromatic
#52199D #6E21D2 #8E4DE3 #B082EB #D1B7F4

Accessibility & contrast

On white

4.86
#8E4DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8E4DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DE3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DE3#FFFFFF#000000##FFFFFF
##8E4DE31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#7B7092
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e4de3;
/* rgb */ color: rgb(142, 77, 227);
/* oklch */ color: oklch(57.4% 0.217 299.4);
Tailwind
colors: {
  custom: {
    50: '#b583ed',
    500: '#8e4de3',
    950: '#000000',
  },
}
SCSS
$custom: #8e4de3;
$custom-light: #b583ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4de3",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 266,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.21652,
    "h": 299.4
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

primary
#8E4DE3
secondary
#CAE3A9
accent
#F038A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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