#8D4DCA#8D4DCA

#8D4DCA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.189 H 304.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D4DCA
RGBrgb(141, 77, 202)
HSLhsl(271, 54%, 55%)
HSVhsv(271, 62%, 79%)
CMYKcmyk(30.2%, 61.9%, 0%, 20.8%)
CIE-LABlab(45.95, 50.28, -54.87)
CIE-LCHlch(45.95, 74.42, 312.50°)
OKLaboklab(55.58% 0.1069 -0.1553)
OKLCHoklch(55.58% 0.189 304.5)
XYZxyz(24.2967, 15.2349, 57.5263)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DCA #8ACA4D
analogous
#4E4DCA #8D4DCA #CA4DC9
triadic
#8D4DCA #CA8D4D #4DCA8D
tetradic
#8D4DCA #CA4E4D #8ACA4D #4DC9CA
square
#8D4DCA #CA4E4D #8ACA4D #4DC9CA
split-complementary
#8D4DCA #C9CA4D #4DCA4E
monochromatic
#4F2479 #6E32A8 #8D4DCA #AB7CD8 #C9ABE6

Accessibility & contrast

On white

5.19
#8D4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8D4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DCA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DCA#FFFFFF#000000##FFFFFF
##8D4DCA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#826784
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4dca;
/* rgb */ color: rgb(141, 77, 202);
/* oklch */ color: oklch(55.6% 0.189 304.5);
Tailwind
colors: {
  custom: {
    50: '#b282db',
    500: '#8d4dca',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dca;
$custom-light: #b282db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dca",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 270.72,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.18857,
    "h": 304.5
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#8D4DCA
secondary
#B9D49F
accent
#DD4A92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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