#8D4ED2#8D4ED2

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

Color values

HEX#8D4ED2
RGBrgb(141, 78, 210)
HSLhsl(269, 59%, 56%)
HSVhsv(269, 63%, 82%)
CMYKcmyk(32.9%, 62.9%, 0%, 17.6%)
CIE-LABlab(46.66, 51.70, -58.32)
CIE-LCHlch(46.66, 77.94, 311.55°)
OKLaboklab(56.26% 0.1053 -0.1655)
OKLCHoklch(56.26% 0.196 302.5)
XYZxyz(25.3390, 15.7646, 62.6682)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ED2 #93D24E
analogous
#4E51D2 #8D4ED2 #CF4ED2
triadic
#8D4ED2 #D28D4E #4ED28D
tetradic
#8D4ED2 #D24E51 #93D24E #4ED2CF
square
#8D4ED2 #D24E51 #93D24E #4ED2CF
split-complementary
#8D4ED2 #D2CF4E #51D24E
monochromatic
#512284 #6E2EB5 #8D4ED2 #AC7FDE #CCB0EB

Accessibility & contrast

On white

5.06
#8D4ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8D4ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ED2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ED2#FFFFFF#000000##FFFFFF
##8D4ED21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#236ECF
Tritanopia (blue-blind)
#7F6A89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4ed2;
/* rgb */ color: rgb(141, 78, 210);
/* oklch */ color: oklch(56.3% 0.196 302.5);
Tailwind
colors: {
  custom: {
    50: '#b383e1',
    500: '#8d4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ed2;
$custom-light: #b383e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ed2",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 268.636,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.19615,
    "h": 302.5
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#8D4ED2
secondary
#BFD9A3
accent
#E34597
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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