#8E4DDE#8E4DDE

#8E4DDE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.211 H 300.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E4DDE
RGBrgb(142, 77, 222)
HSLhsl(267, 69%, 59%)
HSVhsv(267, 65%, 87%)
CMYKcmyk(36%, 65.3%, 0%, 12.9%)
CIE-LABlab(47.41, 55.34, -63.97)
CIE-LCHlch(47.41, 84.58, 310.86°)
OKLaboklab(57.08% 0.1067 -0.182)
OKLCHoklch(57.08% 0.211 300.4)
XYZxyz(26.9908, 16.3323, 70.8235)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DDE #9DDE4D
analogous
#4D54DE #8E4DDE #D74DDE
triadic
#8E4DDE #DE8E4D #4DDE8E
tetradic
#8E4DDE #DE4D54 #9DDE4D #4DDED7
square
#8E4DDE #DE4D54 #9DDE4D #4DDED7
split-complementary
#8E4DDE #DED74D #54DE4D
monochromatic
#521C95 #6E25C9 #8E4DDE #AF81E8 #D0B4F1

Accessibility & contrast

On white

4.92
#8E4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8E4DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DDE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DDE#FFFFFF#000000##FFFFFF
##8E4DDE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#7D6E8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4dde;
/* rgb */ color: rgb(142, 77, 222);
/* oklch */ color: oklch(57.1% 0.211 300.4);
Tailwind
colors: {
  custom: {
    50: '#b583e9',
    500: '#8e4dde',
    950: '#000000',
  },
}
SCSS
$custom: #8e4dde;
$custom-light: #b583e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4dde",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 266.897,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.21102,
    "h": 300.4
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#8E4DDE
secondary
#C6E0A7
accent
#EC3C9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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