#8D3ACC#8D3ACC

#8D3ACC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.215 H 306.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D3ACC
RGBrgb(141, 58, 204)
HSLhsl(274, 59%, 51%)
HSVhsv(274, 72%, 80%)
CMYKcmyk(30.9%, 71.6%, 0%, 20%)
CIE-LABlab(42.84, 59.74, -61.06)
CIE-LCHlch(42.84, 85.42, 314.38°)
OKLaboklab(53.38% 0.1274 -0.1734)
OKLCHoklch(53.38% 0.215 306.3)
XYZxyz(23.3943, 13.0487, 58.4012)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ACC #79CC3A
analogous
#443ACC #8D3ACC #CC3AC2
triadic
#8D3ACC #CC8D3A #3ACC8D
tetradic
#8D3ACC #CC443A #79CC3A #3AC2CC
square
#8D3ACC #CC443A #79CC3A #3AC2CC
split-complementary
#8D3ACC #C2CC3A #3ACC44
monochromatic
#4B1D6F #6C29A0 #8D3ACC #A96BD9 #C59BE5

Accessibility & contrast

On white

5.82
#8D3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8D3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ACC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ACC#FFFFFF#000000##FFFFFF
##8D3ACC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#825C7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d3acc;
/* rgb */ color: rgb(141, 58, 204);
/* oklch */ color: oklch(53.4% 0.215 306.3);
Tailwind
colors: {
  custom: {
    50: '#b377dc',
    500: '#8d3acc',
    950: '#000000',
  },
}
SCSS
$custom: #8d3acc;
$custom-light: #b377dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3acc",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 274.11,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.2152,
    "h": 306.3
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#8D3ACC
secondary
#ACD191
accent
#E24689
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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