#8D4EDD#8D4EDD

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

Color values

HEX#8D4EDD
RGBrgb(141, 78, 221)
HSLhsl(266, 68%, 59%)
HSVhsv(266, 65%, 87%)
CMYKcmyk(36.2%, 64.7%, 0%, 13.3%)
CIE-LABlab(47.41, 54.39, -63.40)
CIE-LCHlch(47.41, 83.54, 310.62°)
OKLaboklab(57.03% 0.1044 -0.1804)
OKLCHoklch(57.03% 0.208 300.1)
XYZxyz(26.7568, 16.3317, 70.1353)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EDD #9EDD4E
analogous
#4E56DD #8D4EDD #D54EDD
triadic
#8D4EDD #DD8D4E #4EDD8D
tetradic
#8D4EDD #DD4E56 #9EDD4E #4EDDD5
square
#8D4EDD #DD4E56 #9EDD4E #4EDDD5
split-complementary
#8D4EDD #DDD54E #56DD4E
monochromatic
#511C94 #6D26C7 #8D4EDD #AE81E7 #CFB5F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D4EDD#FFFFFF#000000##FFFFFF
##8D4EDD1.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)
#0070E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#7B6E8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4edd;
/* rgb */ color: rgb(141, 78, 221);
/* oklch */ color: oklch(57.0% 0.208 300.1);
Tailwind
colors: {
  custom: {
    50: '#b483e8',
    500: '#8d4edd',
    950: '#000000',
  },
}
SCSS
$custom: #8d4edd;
$custom-light: #b483e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4edd",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 266.434,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.20846,
    "h": 300.1
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#8D4EDD
secondary
#C7E0A7
accent
#EB3D9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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