#8D4DD8#8D4DD8

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

Color values

HEX#8D4DD8
RGBrgb(141, 77, 216)
HSLhsl(268, 64%, 57%)
HSVhsv(268, 64%, 85%)
CMYKcmyk(34.7%, 64.4%, 0%, 15.3%)
CIE-LABlab(46.88, 53.66, -61.41)
CIE-LCHlch(46.88, 81.55, 311.15°)
OKLaboklab(56.54% 0.106 -0.1745)
OKLCHoklch(56.54% 0.204 301.3)
XYZxyz(26.0301, 15.9282, 66.6555)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DD8 #98D84D
analogous
#4D53D8 #8D4DD8 #D24DD8
triadic
#8D4DD8 #D88D4D #4DD88D
tetradic
#8D4DD8 #D84D53 #98D84D #4DD8D2
square
#8D4DD8 #D84D53 #98D84D #4DD8D2
split-complementary
#8D4DD8 #D8D24D #53D84D
monochromatic
#511F8C #6E2ABE #8D4DD8 #AD7FE3 #CDB1EE

Accessibility & contrast

On white

5.02
#8D4DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8D4DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DD8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DD8#FFFFFF#000000##FFFFFF
##8D4DD81.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#106ED5
Tritanopia (blue-blind)
#7D6C8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4dd8;
/* rgb */ color: rgb(141, 77, 216);
/* oklch */ color: oklch(56.5% 0.204 301.3);
Tailwind
colors: {
  custom: {
    50: '#b382e5',
    500: '#8d4dd8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dd8;
$custom-light: #b382e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dd8",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 267.626,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5654,
    "c": 0.2042,
    "h": 301.3
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#8D4DD8
secondary
#C3DCA4
accent
#E7419A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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