#8D4DE1#8D4DE1

#8D4DE1 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.214 H 299.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D4DE1
RGBrgb(141, 77, 225)
HSLhsl(266, 71%, 59%)
HSVhsv(266, 66%, 88%)
CMYKcmyk(37.3%, 65.8%, 0%, 11.8%)
CIE-LABlab(47.50, 55.88, -65.52)
CIE-LCHlch(47.50, 86.11, 310.46°)
OKLaboklab(57.19% 0.105 -0.1866)
OKLCHoklch(57.19% 0.214 299.4)
XYZxyz(27.2256, 16.4064, 72.9519)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DE1 #A1E14D
analogous
#4D57E1 #8D4DE1 #D74DE1
triadic
#8D4DE1 #E18D4D #4DE18D
tetradic
#8D4DE1 #E14D57 #A1E14D #4DE1D7
square
#8D4DE1 #E14D57 #A1E14D #4DE1D7
split-complementary
#8D4DE1 #E1D74D #57E14D
monochromatic
#511A9A #6D23CE #8D4DE1 #AF81EA #D0B6F3

Accessibility & contrast

On white

4.90
#8D4DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D4DE1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DE1#FFFFFF#000000##FFFFFF
##8D4DE11.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#7A6F91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d4de1;
/* rgb */ color: rgb(141, 77, 225);
/* oklch */ color: oklch(57.2% 0.214 299.4);
Tailwind
colors: {
  custom: {
    50: '#b483eb',
    500: '#8d4de1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4de1;
$custom-light: #b483eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4de1",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 265.946,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57186,
    "c": 0.21418,
    "h": 299.4
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#8D4DE1
secondary
#C9E2A8
accent
#EE3AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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