#8D4ACD#8D4ACD

#8D4ACD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.196 H 304.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8D4ACD
RGBrgb(141, 74, 205)
HSLhsl(271, 57%, 55%)
HSVhsv(271, 64%, 80%)
CMYKcmyk(31.2%, 63.9%, 0%, 19.6%)
CIE-LABlab(45.59, 52.52, -57.18)
CIE-LCHlch(45.59, 77.64, 312.57°)
OKLaboklab(55.38% 0.1102 -0.1621)
OKLCHoklch(55.38% 0.196 304.2)
XYZxyz(24.4503, 14.9681, 59.3468)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ACD #8ACD4A
analogous
#4C4ACD #8D4ACD #CD4ACC
triadic
#8D4ACD #CD8D4A #4ACD8D
tetradic
#8D4ACD #CD4C4A #8ACD4A #4ACCCD
square
#8D4ACD #CD4C4A #8ACD4A #4ACCCD
split-complementary
#8D4ACD #CCCD4A #4ACD4C
monochromatic
#4F227B #6E2FAB #8D4ACD #AB7ADA #C9AAE7

Accessibility & contrast

On white

5.26
#8D4ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8D4ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ACD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ACD#FFFFFF#000000##FFFFFF
##8D4ACD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#816685
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4acd;
/* rgb */ color: rgb(141, 74, 205);
/* oklch */ color: oklch(55.4% 0.196 304.2);
Tailwind
colors: {
  custom: {
    50: '#b380dd',
    500: '#8d4acd',
    950: '#000000',
  },
}
SCSS
$custom: #8d4acd;
$custom-light: #b380dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4acd",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 270.687,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.19606,
    "h": 304.2
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#8D4ACD
secondary
#B9D59E
accent
#E04892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D4ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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