#8D4EDC#8D4EDC

#8D4EDC is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.207 H 300.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D4EDC
RGBrgb(141, 78, 220)
HSLhsl(267, 67%, 58%)
HSVhsv(267, 65%, 86%)
CMYKcmyk(35.9%, 64.5%, 0%, 13.7%)
CIE-LABlab(47.34, 54.14, -62.95)
CIE-LCHlch(47.34, 83.03, 310.70°)
OKLaboklab(56.96% 0.1045 -0.1791)
OKLCHoklch(56.96% 0.207 300.3)
XYZxyz(26.6240, 16.2786, 69.4357)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EDC #9DDC4E
analogous
#4E56DC #8D4EDC #D44EDC
triadic
#8D4EDC #DC8D4E #4EDC8D
tetradic
#8D4EDC #DC4E56 #9DDC4E #4EDCD4
square
#8D4EDC #DC4E56 #9DDC4E #4EDCD4
split-complementary
#8D4EDC #DCD44E #56DC4E
monochromatic
#511D93 #6D27C6 #8D4EDC #AE81E6 #CFB4F0

Accessibility & contrast

On white

4.93
#8D4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8D4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EDC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EDC#FFFFFF#000000##FFFFFF
##8D4EDC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#016FD9
Tritanopia (blue-blind)
#7C6E8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4edc;
/* rgb */ color: rgb(141, 78, 220);
/* oklch */ color: oklch(57.0% 0.207 300.3);
Tailwind
colors: {
  custom: {
    50: '#b483e8',
    500: '#8d4edc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4edc;
$custom-light: #b483e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4edc",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 266.62,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.20734,
    "h": 300.3
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#8D4EDC
secondary
#C6DFA7
accent
#EA3E9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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