#8D4ED3#8D4ED3

#8D4ED3 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.3% C 0.197 H 302.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D4ED3
RGBrgb(141, 78, 211)
HSLhsl(268, 60%, 57%)
HSVhsv(268, 63%, 83%)
CMYKcmyk(33.2%, 63%, 0%, 17.3%)
CIE-LABlab(46.73, 51.94, -58.79)
CIE-LCHlch(46.73, 78.45, 311.46°)
OKLaboklab(56.33% 0.1052 -0.1669)
OKLCHoklch(56.33% 0.197 302.2)
XYZxyz(25.4640, 15.8146, 63.3264)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ED3 #94D34E
analogous
#4E52D3 #8D4ED3 #D04ED3
triadic
#8D4ED3 #D38D4E #4ED38D
tetradic
#8D4ED3 #D34E52 #94D34E #4ED3D0
square
#8D4ED3 #D34E52 #94D34E #4ED3D0
split-complementary
#8D4ED3 #D3D04E #52D34E
monochromatic
#512185 #6E2DB6 #8D4ED3 #AD7FDF #CCB0EB

Accessibility & contrast

On white

5.04
#8D4ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8D4ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ED3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ED3#FFFFFF#000000##FFFFFF
##8D4ED31.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#216ED0
Tritanopia (blue-blind)
#7F6B89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4ed3;
/* rgb */ color: rgb(141, 78, 211);
/* oklch */ color: oklch(56.3% 0.197 302.2);
Tailwind
colors: {
  custom: {
    50: '#b383e1',
    500: '#8d4ed3',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ed3;
$custom-light: #b383e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ed3",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 268.421,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.19728,
    "h": 302.2
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#8D4ED3
secondary
#C0DAA3
accent
#E34498
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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