#8D4ACA#8D4ACA

#8D4ACA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.193 H 305.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D4ACA
RGBrgb(141, 74, 202)
HSLhsl(271, 55%, 54%)
HSVhsv(271, 63%, 79%)
CMYKcmyk(30.2%, 63.4%, 0%, 20.8%)
CIE-LABlab(45.39, 51.81, -55.77)
CIE-LCHlch(45.39, 76.12, 312.89°)
OKLaboklab(55.17% 0.1104 -0.158)
OKLCHoklch(55.17% 0.193 305)
XYZxyz(24.0916, 14.8247, 57.4579)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ACA #87CA4A
analogous
#4D4ACA #8D4ACA #CA4AC7
triadic
#8D4ACA #CA8D4A #4ACA8D
tetradic
#8D4ACA #CA4D4A #87CA4A #4AC7CA
square
#8D4ACA #CA4D4A #87CA4A #4AC7CA
split-complementary
#8D4ACA #C7CA4A #4ACA4D
monochromatic
#4F2377 #6E31A6 #8D4ACA #AB79D8 #C9A9E6

Accessibility & contrast

On white

5.30
#8D4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8D4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ACA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ACA#FFFFFF#000000##FFFFFF
##8D4ACA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#296CC7
Tritanopia (blue-blind)
#826583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d4aca;
/* rgb */ color: rgb(141, 74, 202);
/* oklch */ color: oklch(55.2% 0.193 305.0);
Tailwind
colors: {
  custom: {
    50: '#b280db',
    500: '#8d4aca',
    950: '#000000',
  },
}
SCSS
$custom: #8d4aca;
$custom-light: #b280db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4aca",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 271.406,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55169,
    "c": 0.19276,
    "h": 305
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#8D4ACA
secondary
#B7D39D
accent
#DE4A90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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