#8C3ACC#8C3ACC

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

Color values

HEX#8C3ACC
RGBrgb(140, 58, 204)
HSLhsl(274, 59%, 51%)
HSVhsv(274, 72%, 80%)
CMYKcmyk(31.4%, 71.6%, 0%, 20%)
CIE-LABlab(42.70, 59.55, -61.28)
CIE-LCHlch(42.70, 85.45, 314.18°)
OKLaboklab(53.26% 0.1261 -0.1741)
OKLCHoklch(53.26% 0.215 305.9)
XYZxyz(23.2250, 12.9614, 58.3933)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3ACC #7ACC3A
analogous
#433ACC #8C3ACC #CC3AC3
triadic
#8C3ACC #CC8C3A #3ACC8C
tetradic
#8C3ACC #CC433A #7ACC3A #3AC3CC
square
#8C3ACC #CC433A #7ACC3A #3AC3CC
split-complementary
#8C3ACC #C3CC3A #3ACC43
monochromatic
#4B1D6F #6C29A0 #8C3ACC #A86BD9 #C59BE5

Accessibility & contrast

On white

5.85
#8C3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8C3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3ACC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3ACC#FFFFFF#000000##FFFFFF
##8C3ACC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#815C7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8c3acc;
/* rgb */ color: rgb(140, 58, 204);
/* oklch */ color: oklch(53.3% 0.215 305.9);
Tailwind
colors: {
  custom: {
    50: '#b377dc',
    500: '#8c3acc',
    950: '#000000',
  },
}
SCSS
$custom: #8c3acc;
$custom-light: #b377dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3acc",
  "rgb": {
    "r": 140,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 273.699,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.21496,
    "h": 305.9
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#8C3ACC
secondary
#ADD191
accent
#E2468A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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