#8D4EE1#8D4EE1

#8D4EE1 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.213 H 299.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8D4EE1
RGBrgb(141, 78, 225)
HSLhsl(266, 71%, 59%)
HSVhsv(266, 65%, 88%)
CMYKcmyk(37.3%, 65.3%, 0%, 11.8%)
CIE-LABlab(47.68, 55.38, -65.22)
CIE-LCHlch(47.68, 85.56, 310.33°)
OKLaboklab(57.32% 0.104 -0.1858)
OKLCHoklch(57.32% 0.213 299.2)
XYZxyz(27.2961, 16.5474, 72.9754)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EE1 #A2E14E
analogous
#4E59E1 #8D4EE1 #D64EE1
triadic
#8D4EE1 #E18D4E #4EE18D
tetradic
#8D4EE1 #E14E59 #A2E14E #4EE1D6
square
#8D4EE1 #E14E59 #A2E14E #4EE1D6
split-complementary
#8D4EE1 #E1D64E #59E14E
monochromatic
#511A9A #6D23CF #8D4EE1 #AF82EA #D0B7F3

Accessibility & contrast

On white

4.87
#8D4EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8D4EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EE1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EE1#FFFFFF#000000##FFFFFF
##8D4EE11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#7A7091
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d4ee1;
/* rgb */ color: rgb(141, 78, 225);
/* oklch */ color: oklch(57.3% 0.213 299.2);
Tailwind
colors: {
  custom: {
    50: '#b483eb',
    500: '#8d4ee1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ee1;
$custom-light: #b483eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ee1",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 265.714,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.21291,
    "h": 299.2
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#8D4EE1
secondary
#C9E2A9
accent
#EE3AA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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