#8D4ACC#8D4ACC

#8D4ACC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.195 H 304.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8D4ACC
RGBrgb(141, 74, 204)
HSLhsl(271, 56%, 55%)
HSVhsv(271, 64%, 80%)
CMYKcmyk(30.9%, 63.7%, 0%, 20%)
CIE-LABlab(45.52, 52.28, -56.71)
CIE-LCHlch(45.52, 77.13, 312.67°)
OKLaboklab(55.31% 0.1103 -0.1607)
OKLCHoklch(55.31% 0.195 304.5)
XYZxyz(24.3299, 14.9200, 58.7131)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ACC #89CC4A
analogous
#4C4ACC #8D4ACC #CC4ACA
triadic
#8D4ACC #CC8D4A #4ACC8D
tetradic
#8D4ACC #CC4C4A #89CC4A #4ACACC
square
#8D4ACC #CC4C4A #89CC4A #4ACACC
split-complementary
#8D4ACC #CACC4A #4ACC4C
monochromatic
#4F2279 #6E30A9 #8D4ACC #AB7AD9 #C9A9E7

Accessibility & contrast

On white

5.27
#8D4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ACC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ACC#FFFFFF#000000##FFFFFF
##8D4ACC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#266CC9
Tritanopia (blue-blind)
#816684
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4acc;
/* rgb */ color: rgb(141, 74, 204);
/* oklch */ color: oklch(55.3% 0.195 304.5);
Tailwind
colors: {
  custom: {
    50: '#b380dc',
    500: '#8d4acc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4acc;
$custom-light: #b380dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4acc",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 270.923,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.19496,
    "h": 304.5
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#8D4ACC
secondary
#B8D49D
accent
#DF4892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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