#8D4DD6#8D4DD6

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

Color values

HEX#8D4DD6
RGBrgb(141, 77, 214)
HSLhsl(268, 63%, 57%)
HSVhsv(268, 64%, 84%)
CMYKcmyk(34.1%, 64%, 0%, 16.1%)
CIE-LABlab(46.74, 53.18, -60.48)
CIE-LCHlch(46.74, 80.54, 311.32°)
OKLaboklab(56.4% 0.1061 -0.1718)
OKLCHoklch(56.4% 0.202 301.7)
XYZxyz(25.7731, 15.8254, 65.3021)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DD6 #96D64D
analogous
#4D52D6 #8D4DD6 #D14DD6
triadic
#8D4DD6 #D68D4D #4DD68D
tetradic
#8D4DD6 #D64D52 #96D64D #4DD6D1
square
#8D4DD6 #D64D52 #96D64D #4DD6D1
split-complementary
#8D4DD6 #D6D14D #52D64D
monochromatic
#512089 #6E2BBB #8D4DD6 #AD7FE1 #CDB0ED

Accessibility & contrast

On white

5.04
#8D4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8D4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DD6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DD6#FFFFFF#000000##FFFFFF
##8D4DD61.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#176ED3
Tritanopia (blue-blind)
#7E6B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4dd6;
/* rgb */ color: rgb(141, 77, 214);
/* oklch */ color: oklch(56.4% 0.202 301.7);
Tailwind
colors: {
  custom: {
    50: '#b382e3',
    500: '#8d4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dd6;
$custom-light: #b382e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dd6",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 268.029,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56399,
    "c": 0.20198,
    "h": 301.7
  },
  "luminance": 0.15826
}

Semantic roles & 50–950 ramp

primary
#8D4DD6
secondary
#C1DBA4
accent
#E64299
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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