#8D4CD8#8D4CD8

#8D4CD8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.206 H 301.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8D4CD8
RGBrgb(141, 76, 216)
HSLhsl(268, 64%, 57%)
HSVhsv(268, 65%, 85%)
CMYKcmyk(34.7%, 64.8%, 0%, 15.3%)
CIE-LABlab(46.70, 54.17, -61.70)
CIE-LCHlch(46.70, 82.10, 311.28°)
OKLaboklab(56.41% 0.1071 -0.1754)
OKLCHoklch(56.41% 0.206 301.4)
XYZxyz(25.9607, 15.7894, 66.6324)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CD8 #97D84C
analogous
#4C51D8 #8D4CD8 #D34CD8
triadic
#8D4CD8 #D88D4C #4CD88D
tetradic
#8D4CD8 #D84C51 #97D84C #4CD8D3
square
#8D4CD8 #D84C51 #97D84C #4CD8D3
split-complementary
#8D4CD8 #D8D34C #51D84C
monochromatic
#511E8B #6E29BE #8D4CD8 #AD7EE3 #CDB1EE

Accessibility & contrast

On white

5.05
#8D4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8D4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CD8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CD8#FFFFFF#000000##FFFFFF
##8D4CD81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0B6ED5
Tritanopia (blue-blind)
#7D6B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4cd8;
/* rgb */ color: rgb(141, 76, 216);
/* oklch */ color: oklch(56.4% 0.206 301.4);
Tailwind
colors: {
  custom: {
    50: '#b382e5',
    500: '#8d4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cd8;
$custom-light: #b382e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cd8",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 267.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.20551,
    "h": 301.4
  },
  "luminance": 0.15789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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