#8C3ABC#8C3ABC

#8C3ABC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.1% C 0.199 H 310.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8C3ABC
RGBrgb(140, 58, 188)
HSLhsl(278, 53%, 48%)
HSVhsv(278, 69%, 74%)
CMYKcmyk(25.5%, 69.1%, 0%, 26.3%)
CIE-LABlab(41.58, 55.99, -53.77)
CIE-LCHlch(41.58, 77.63, 316.16°)
OKLaboklab(52.11% 0.1283 -0.1521)
OKLCHoklch(52.11% 0.199 310.1)
XYZxyz(21.4036, 12.2329, 48.8009)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3ABC #6ABC3A
analogous
#4B3ABC #8C3ABC #BC3AAB
triadic
#8C3ABC #BC8C3A #3ABC8C
tetradic
#8C3ABC #BC4B3A #6ABC3A #3AABBC
square
#8C3ABC #BC4B3A #6ABC3A #3AABBC
split-complementary
#8C3ABC #ABBC3A #3ABC4B
monochromatic
#461D5E #692C8D #8C3ABC #A864CF #C293DE

Accessibility & contrast

On white

6.09
#8C3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8C3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3ABC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3ABC#FFFFFF#000000##FFFFFF
##8C3ABC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#2563B9
Tritanopia (blue-blind)
#855677
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8c3abc;
/* rgb */ color: rgb(140, 58, 188);
/* oklch */ color: oklch(52.1% 0.199 310.1);
Tailwind
colors: {
  custom: {
    50: '#b277d1',
    500: '#8c3abc',
    950: '#000000',
  },
}
SCSS
$custom: #8c3abc;
$custom-light: #b277d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3abc",
  "rgb": {
    "r": 140,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 277.846,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.19894,
    "h": 310.1
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#8C3ABC
secondary
#A1C989
accent
#DC4C81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8C3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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