#8D4DD7#8D4DD7

#8D4DD7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.203 H 301.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D4DD7
RGBrgb(141, 77, 215)
HSLhsl(268, 63%, 57%)
HSVhsv(268, 64%, 84%)
CMYKcmyk(34.4%, 64.2%, 0%, 15.7%)
CIE-LABlab(46.81, 53.42, -60.94)
CIE-LCHlch(46.81, 81.04, 311.24°)
OKLaboklab(56.47% 0.1061 -0.1732)
OKLCHoklch(56.47% 0.203 301.5)
XYZxyz(25.9012, 15.8767, 65.9767)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DD7 #97D74D
analogous
#4D52D7 #8D4DD7 #D24DD7
triadic
#8D4DD7 #D78D4D #4DD78D
tetradic
#8D4DD7 #D74D52 #97D74D #4DD7D2
square
#8D4DD7 #D74D52 #97D74D #4DD7D2
split-complementary
#8D4DD7 #D7D24D #52D74D
monochromatic
#511F8A #6E2ABC #8D4DD7 #AD7FE2 #CDB1ED

Accessibility & contrast

On white

5.03
#8D4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8D4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DD7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DD7#FFFFFF#000000##FFFFFF
##8D4DD71.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#146ED4
Tritanopia (blue-blind)
#7E6C8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4dd7;
/* rgb */ color: rgb(141, 77, 215);
/* oklch */ color: oklch(56.5% 0.203 301.5);
Tailwind
colors: {
  custom: {
    50: '#b382e4',
    500: '#8d4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dd7;
$custom-light: #b382e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dd7",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 267.826,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.20309,
    "h": 301.5
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#8D4DD7
secondary
#C2DCA4
accent
#E6419A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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