#8D4EDE#8D4EDE

#8D4EDE is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.210 H 299.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D4EDE
RGBrgb(141, 78, 222)
HSLhsl(266, 69%, 59%)
HSVhsv(266, 65%, 87%)
CMYKcmyk(36.5%, 64.9%, 0%, 12.9%)
CIE-LABlab(47.48, 54.64, -63.86)
CIE-LCHlch(47.48, 84.04, 310.55°)
OKLaboklab(57.1% 0.1043 -0.1818)
OKLCHoklch(57.1% 0.21 299.8)
XYZxyz(26.8905, 16.3852, 70.8390)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EDE #9FDE4E
analogous
#4E57DE #8D4EDE #D54EDE
triadic
#8D4EDE #DE8D4E #4EDE8D
tetradic
#8D4EDE #DE4E57 #9FDE4E #4EDED5
square
#8D4EDE #DE4E57 #9FDE4E #4EDED5
split-complementary
#8D4EDE #DED54E #57DE4E
monochromatic
#511C96 #6D26C9 #8D4EDE #AE82E8 #CFB5F1

Accessibility & contrast

On white

4.91
#8D4EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8D4EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EDE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EDE#FFFFFF#000000##FFFFFF
##8D4EDE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d4ede;
/* rgb */ color: rgb(141, 78, 222);
/* oklch */ color: oklch(57.1% 0.210 299.8);
Tailwind
colors: {
  custom: {
    50: '#b483e9',
    500: '#8d4ede',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ede;
$custom-light: #b483e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ede",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 266.25,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.571,
    "c": 0.20957,
    "h": 299.8
  },
  "luminance": 0.16385
}

Semantic roles & 50–950 ramp

primary
#8D4EDE
secondary
#C7E0A8
accent
#EB3C9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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