#8C3CC4#8C3CC4

#8C3CC4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.204 H 307.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8C3CC4
RGBrgb(140, 60, 196)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 69%, 77%)
CMYKcmyk(28.6%, 69.4%, 0%, 23.1%)
CIE-LABlab(42.45, 56.87, -57.05)
CIE-LCHlch(42.45, 80.55, 314.91°)
OKLaboklab(52.9% 0.1252 -0.1617)
OKLCHoklch(52.9% 0.205 307.7)
XYZxyz(22.3928, 12.7930, 53.5035)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3CC4 #74C43C
analogous
#483CC4 #8C3CC4 #C43CB8
triadic
#8C3CC4 #C48C3C #3CC48C
tetradic
#8C3CC4 #C4483C #74C43C #3CB8C4
square
#8C3CC4 #C4483C #74C43C #3CB8C4
split-complementary
#8C3CC4 #B8C43C #3CC448
monochromatic
#491F67 #6B2D96 #8C3CC4 #A86BD2 #C39AE0

Accessibility & contrast

On white

5.90
#8C3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8C3CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3CC4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3CC4#FFFFFF#000000##FFFFFF
##8C3CC41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1865C1
Tritanopia (blue-blind)
#835A7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c3cc4;
/* rgb */ color: rgb(140, 60, 196);
/* oklch */ color: oklch(52.9% 0.204 307.7);
Tailwind
colors: {
  custom: {
    50: '#b278d7',
    500: '#8c3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #8c3cc4;
$custom-light: #b278d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3cc4",
  "rgb": {
    "r": 140,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 275.294,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.2045,
    "h": 307.7
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#8C3CC4
secondary
#A9CC90
accent
#DD4B87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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