#8D4CD7#8D4CD7

#8D4CD7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.204 H 301.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8D4CD7
RGBrgb(141, 76, 215)
HSLhsl(268, 63%, 57%)
HSVhsv(268, 65%, 84%)
CMYKcmyk(34.4%, 64.7%, 0%, 15.7%)
CIE-LABlab(46.63, 53.92, -61.24)
CIE-LCHlch(46.63, 81.60, 311.36°)
OKLaboklab(56.34% 0.1072 -0.1741)
OKLCHoklch(56.34% 0.204 301.6)
XYZxyz(25.8318, 15.7378, 65.9536)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CD7 #96D74C
analogous
#4C51D7 #8D4CD7 #D34CD7
triadic
#8D4CD7 #D78D4C #4CD78D
tetradic
#8D4CD7 #D74C51 #96D74C #4CD7D3
square
#8D4CD7 #D74C51 #96D74C #4CD7D3
split-complementary
#8D4CD7 #D7D34C #51D74C
monochromatic
#511F8A #6E2ABC #8D4CD7 #AD7EE2 #CDB0ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D4CD7#FFFFFF#000000##FFFFFF
##8D4CD71.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)
#006EDB
Deuteranopia (green-blind)
#106ED4
Tritanopia (blue-blind)
#7E6B8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4cd7;
/* rgb */ color: rgb(141, 76, 215);
/* oklch */ color: oklch(56.3% 0.204 301.6);
Tailwind
colors: {
  custom: {
    50: '#b382e4',
    500: '#8d4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cd7;
$custom-light: #b382e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cd7",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 268.058,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.20441,
    "h": 301.6
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#8D4CD7
secondary
#C1DCA3
accent
#E64199
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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