#8C3ACE#8C3ACE

#8C3ACE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.217 H 305.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8C3ACE
RGBrgb(140, 58, 206)
HSLhsl(273, 60%, 52%)
HSVhsv(273, 72%, 81%)
CMYKcmyk(32%, 71.8%, 0%, 19.2%)
CIE-LABlab(42.85, 60.00, -62.20)
CIE-LCHlch(42.85, 86.42, 313.97°)
OKLaboklab(53.41% 0.1257 -0.1768)
OKLCHoklch(53.41% 0.217 305.4)
XYZxyz(23.4664, 13.0580, 59.6647)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3ACE #7CCE3A
analogous
#423ACE #8C3ACE #CE3AC6
triadic
#8C3ACE #CE8C3A #3ACE8C
tetradic
#8C3ACE #CE423A #7CCE3A #3AC6CE
square
#8C3ACE #CE423A #7CCE3A #3AC6CE
split-complementary
#8C3ACE #C6CE3A #3ACE42
monochromatic
#4B1C71 #6C28A2 #8C3ACE #A96BDA #C59CE6

Accessibility & contrast

On white

5.81
#8C3ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C3ACE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3ACE#FFFFFF#000000##FFFFFF
##8C3ACE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#805D81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8c3ace;
/* rgb */ color: rgb(140, 58, 206);
/* oklch */ color: oklch(53.4% 0.217 305.4);
Tailwind
colors: {
  custom: {
    50: '#b377de',
    500: '#8c3ace',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ace;
$custom-light: #b377de;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ace",
  "rgb": {
    "r": 140,
    "g": 58,
    "b": 206
  },
  "hsl": {
    "h": 273.243,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.21696,
    "h": 305.4
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#8C3ACE
secondary
#AED291
accent
#E3448B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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