#8C3ACA#8C3ACA

#8C3ACA is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.213 H 306.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8C3ACA
RGBrgb(140, 58, 202)
HSLhsl(274, 58%, 51%)
HSVhsv(274, 71%, 79%)
CMYKcmyk(30.7%, 71.3%, 0%, 20.8%)
CIE-LABlab(42.56, 59.10, -60.35)
CIE-LCHlch(42.56, 84.47, 314.40°)
OKLaboklab(53.11% 0.1264 -0.1714)
OKLCHoklch(53.11% 0.213 306.4)
XYZxyz(22.9866, 12.8661, 57.1381)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3ACA #78CA3A
analogous
#443ACA #8C3ACA #CA3AC0
triadic
#8C3ACA #CA8C3A #3ACA8C
tetradic
#8C3ACA #CA443A #78CA3A #3AC0CA
square
#8C3ACA #CA443A #78CA3A #3AC0CA
split-complementary
#8C3ACA #C0CA3A #3ACA44
monochromatic
#4A1D6C #6B2A9D #8C3ACA #A86AD7 #C49AE4

Accessibility & contrast

On white

5.88
#8C3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8C3ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3ACA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3ACA#FFFFFF#000000##FFFFFF
##8C3ACA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#815C7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c3aca;
/* rgb */ color: rgb(140, 58, 202);
/* oklch */ color: oklch(53.1% 0.213 306.4);
Tailwind
colors: {
  custom: {
    50: '#b377db',
    500: '#8c3aca',
    950: '#000000',
  },
}
SCSS
$custom: #8c3aca;
$custom-light: #b377db;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3aca",
  "rgb": {
    "r": 140,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 274.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.21296,
    "h": 306.4
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#8C3ACA
secondary
#ABD090
accent
#E14789
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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