#8C3ADD#8C3ADD

#8C3ADD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.6% C 0.232 H 302.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8C3ADD
RGBrgb(140, 58, 221)
HSLhsl(270, 71%, 55%)
HSVhsv(270, 74%, 87%)
CMYKcmyk(36.7%, 73.8%, 0%, 13.3%)
CIE-LABlab(43.98, 63.44, -68.98)
CIE-LCHlch(43.98, 93.72, 312.60°)
OKLaboklab(54.56% 0.1228 -0.1968)
OKLCHoklch(54.56% 0.232 302)
XYZxyz(25.3763, 13.8219, 69.7236)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3ADD #8BDD3A
analogous
#3B3ADD #8C3ADD #DD3ADD
triadic
#8C3ADD #DD8C3A #3ADD8C
tetradic
#8C3ADD #DD3B3A #8BDD3A #3ADDDD
square
#8C3ADD #DD3B3A #8BDD3A #3ADDDD
split-complementary
#8C3ADD #DDDD3A #3ADD3B
monochromatic
#4F1786 #6D20BA #8C3ADD #AA6EE6 #C9A2EF

Accessibility & contrast

On white

5.58
#8C3ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8C3ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3ADD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3ADD#FFFFFF#000000##FFFFFF
##8C3ADD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#7B6389
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c3add;
/* rgb */ color: rgb(140, 58, 221);
/* oklch */ color: oklch(54.6% 0.232 302.0);
Tailwind
colors: {
  custom: {
    50: '#b478e9',
    500: '#8c3add',
    950: '#000000',
  },
}
SCSS
$custom: #8c3add;
$custom-light: #b478e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3add",
  "rgb": {
    "r": 140,
    "g": 58,
    "b": 221
  },
  "hsl": {
    "h": 270.184,
    "s": 70.563,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.23194,
    "h": 302
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#8C3ADD
secondary
#B9DC97
accent
#ED3A93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C3ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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