#8D4FD9#8D4FD9

#8D4FD9 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.203 H 300.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D4FD9
RGBrgb(141, 79, 217)
HSLhsl(267, 64%, 58%)
HSVhsv(267, 64%, 85%)
CMYKcmyk(35%, 63.6%, 0%, 14.9%)
CIE-LABlab(47.32, 52.90, -61.27)
CIE-LCHlch(47.32, 80.94, 310.81°)
OKLaboklab(56.88% 0.1037 -0.1741)
OKLCHoklch(56.88% 0.203 300.8)
XYZxyz(26.3019, 16.2643, 67.3858)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FD9 #9BD94F
analogous
#4F56D9 #8D4FD9 #D24FD9
triadic
#8D4FD9 #D98D4F #4FD98D
tetradic
#8D4FD9 #D94F56 #9BD94F #4FD9D2
square
#8D4FD9 #D94F56 #9BD94F #4FD9D2
split-complementary
#8D4FD9 #D9D24F #56D94F
monochromatic
#511F8F #6E2AC1 #8D4FD9 #AE81E4 #CEB4EF

Accessibility & contrast

On white

4.94
#8D4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8D4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FD9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FD9#FFFFFF#000000##FFFFFF
##8D4FD91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#146FD6
Tritanopia (blue-blind)
#7D6D8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4fd9;
/* rgb */ color: rgb(141, 79, 217);
/* oklch */ color: oklch(56.9% 0.203 300.8);
Tailwind
colors: {
  custom: {
    50: '#b384e6',
    500: '#8d4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fd9;
$custom-light: #b384e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fd9",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 266.957,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56878,
    "c": 0.20267,
    "h": 300.8
  },
  "luminance": 0.16264
}

Semantic roles & 50–950 ramp

primary
#8D4FD9
secondary
#C5DDA6
accent
#E7409C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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