#8C3EC0#8C3EC0

#8C3EC0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.8% C 0.198 H 308.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8C3EC0
RGBrgb(140, 62, 192)
HSLhsl(276, 51%, 50%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(27.1%, 67.7%, 0%, 24.7%)
CIE-LABlab(42.50, 55.07, -54.63)
CIE-LCHlch(42.50, 77.57, 315.23°)
OKLaboklab(52.85% 0.1235 -0.1546)
OKLCHoklch(52.85% 0.198 308.6)
XYZxyz(22.0503, 12.8268, 51.1732)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3EC0 #72C03E
analogous
#4B3EC0 #8C3EC0 #C03EB3
triadic
#8C3EC0 #C08C3E #3EC08C
tetradic
#8C3EC0 #C04B3E #72C03E #3EB3C0
square
#8C3EC0 #C04B3E #72C03E #3EB3C0
split-complementary
#8C3EC0 #B3C03E #3EC04B
monochromatic
#492063 #6A2F92 #8C3EC0 #A86CCF #C39ADE

Accessibility & contrast

On white

5.89
#8C3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C3EC0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3EC0#FFFFFF#000000##FFFFFF
##8C3EC01.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#845A7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c3ec0;
/* rgb */ color: rgb(140, 62, 192);
/* oklch */ color: oklch(52.8% 0.198 308.6);
Tailwind
colors: {
  custom: {
    50: '#b279d4',
    500: '#8c3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ec0;
$custom-light: #b279d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ec0",
  "rgb": {
    "r": 140,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 276,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.1979,
    "h": 308.6
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#8C3EC0
secondary
#A7CA8F
accent
#DB4D86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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