#8D4FD7#8D4FD7

#8D4FD7 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.200 H 301.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D4FD7
RGBrgb(141, 79, 215)
HSLhsl(267, 63%, 58%)
HSVhsv(267, 63%, 84%)
CMYKcmyk(34.4%, 63.3%, 0%, 15.7%)
CIE-LABlab(47.18, 52.41, -60.34)
CIE-LCHlch(47.18, 79.92, 310.97°)
OKLaboklab(56.74% 0.1038 -0.1714)
OKLCHoklch(56.74% 0.2 301.2)
XYZxyz(26.0433, 16.1609, 66.0241)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FD7 #99D74F
analogous
#4F55D7 #8D4FD7 #D14FD7
triadic
#8D4FD7 #D78D4F #4FD78D
tetradic
#8D4FD7 #D74F55 #99D74F #4FD7D1
square
#8D4FD7 #D74F55 #99D74F #4FD7D1
split-complementary
#8D4FD7 #D7D14F #55D74F
monochromatic
#51208C #6E2BBE #8D4FD7 #AD81E2 #CEB3EE

Accessibility & contrast

On white

4.96
#8D4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8D4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FD7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FD7#FFFFFF#000000##FFFFFF
##8D4FD71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#1A6FD4
Tritanopia (blue-blind)
#7E6D8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4fd7;
/* rgb */ color: rgb(141, 79, 215);
/* oklch */ color: oklch(56.7% 0.200 301.2);
Tailwind
colors: {
  custom: {
    50: '#b384e4',
    500: '#8d4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fd7;
$custom-light: #b384e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fd7",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 267.353,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.20042,
    "h": 301.2
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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