#8D4ED7#8D4ED7

#8D4ED7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.202 H 301.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D4ED7
RGBrgb(141, 78, 215)
HSLhsl(268, 63%, 57%)
HSVhsv(268, 64%, 84%)
CMYKcmyk(34.4%, 63.7%, 0%, 15.7%)
CIE-LABlab(47.00, 52.92, -60.64)
CIE-LCHlch(47.00, 80.48, 311.11°)
OKLaboklab(56.6% 0.1049 -0.1723)
OKLCHoklch(56.6% 0.202 301.3)
XYZxyz(25.9717, 16.0177, 66.0002)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ED7 #98D74E
analogous
#4E54D7 #8D4ED7 #D14ED7
triadic
#8D4ED7 #D78D4E #4ED78D
tetradic
#8D4ED7 #D74E54 #98D74E #4ED7D1
square
#8D4ED7 #D74E54 #98D74E #4ED7D1
split-complementary
#8D4ED7 #D7D14E #54D74E
monochromatic
#511F8B #6E2BBD #8D4ED7 #AD80E2 #CDB2EE

Accessibility & contrast

On white

5.00
#8D4ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8D4ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ED7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ED7#FFFFFF#000000##FFFFFF
##8D4ED71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#176FD4
Tritanopia (blue-blind)
#7E6C8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4ed7;
/* rgb */ color: rgb(141, 78, 215);
/* oklch */ color: oklch(56.6% 0.202 301.3);
Tailwind
colors: {
  custom: {
    50: '#b383e4',
    500: '#8d4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ed7;
$custom-light: #b383e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ed7",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 267.591,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56603,
    "c": 0.20176,
    "h": 301.3
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#8D4ED7
secondary
#C3DCA5
accent
#E6429B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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