#8C3CC8#8C3CC8

#8C3CC8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.209 H 306.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8C3CC8
RGBrgb(140, 60, 200)
HSLhsl(274, 56%, 51%)
HSVhsv(274, 70%, 78%)
CMYKcmyk(30%, 70%, 0%, 21.6%)
CIE-LABlab(42.73, 57.77, -58.92)
CIE-LCHlch(42.73, 82.52, 314.44°)
OKLaboklab(53.19% 0.1247 -0.1672)
OKLCHoklch(53.19% 0.209 306.7)
XYZxyz(22.8542, 12.9775, 55.9333)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3CC8 #78C83C
analogous
#463CC8 #8C3CC8 #C83CBE
triadic
#8C3CC8 #C88C3C #3CC88C
tetradic
#8C3CC8 #C8463C #78C83C #3CBEC8
square
#8C3CC8 #C8463C #78C83C #3CBEC8
split-complementary
#8C3CC8 #BEC83C #3CC846
monochromatic
#4A1E6B #6B2C9B #8C3CC8 #A86CD5 #C49BE3

Accessibility & contrast

On white

5.84
#8C3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8C3CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3CC8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3CC8#FFFFFF#000000##FFFFFF
##8C3CC81.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0C65C5
Tritanopia (blue-blind)
#825C7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8c3cc8;
/* rgb */ color: rgb(140, 60, 200);
/* oklch */ color: oklch(53.2% 0.209 306.7);
Tailwind
colors: {
  custom: {
    50: '#b278da',
    500: '#8c3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8c3cc8;
$custom-light: #b278da;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3cc8",
  "rgb": {
    "r": 140,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 274.286,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.20856,
    "h": 306.7
  },
  "luminance": 0.12977
}

Semantic roles & 50–950 ramp

primary
#8C3CC8
secondary
#ABCF91
accent
#DF4989
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8C3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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