#8D4ABE#8D4ABE

#8D4ABE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.180 H 308.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8D4ABE
RGBrgb(141, 74, 190)
HSLhsl(275, 47%, 52%)
HSVhsv(275, 61%, 75%)
CMYKcmyk(25.8%, 61.1%, 0%, 25.5%)
CIE-LABlab(44.63, 49.00, -50.04)
CIE-LCHlch(44.63, 70.03, 314.40°)
OKLaboklab(54.37% 0.1109 -0.1412)
OKLCHoklch(54.37% 0.18 308.2)
XYZxyz(22.7257, 14.2783, 50.2640)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ABE #7BBE4A
analogous
#534ABE #8D4ABE #BE4AB5
triadic
#8D4ABE #BE8D4A #4ABE8D
tetradic
#8D4ABE #BE534A #7BBE4A #4AB5BE
square
#8D4ABE #BE534A #7BBE4A #4AB5BE
split-complementary
#8D4ABE #B5BE4A #4ABE53
monochromatic
#4C2568 #6D3695 #8D4ABE #A977CE #C6A4DE

Accessibility & contrast

On white

5.45
#8D4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8D4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ABE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ABE#FFFFFF#000000##FFFFFF
##8D4ABE1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#386ABB
Tritanopia (blue-blind)
#86617D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4abe;
/* rgb */ color: rgb(141, 74, 190);
/* oklch */ color: oklch(54.4% 0.180 308.2);
Tailwind
colors: {
  custom: {
    50: '#b280d2',
    500: '#8d4abe',
    950: '#000000',
  },
}
SCSS
$custom: #8d4abe;
$custom-light: #b280d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4abe",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 274.655,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.17954,
    "h": 308.2
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#8D4ABE
secondary
#AECB98
accent
#D7518A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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