#8C3DC3#8C3DC3

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

Color values

HEX#8C3DC3
RGBrgb(140, 61, 195)
HSLhsl(275, 53%, 50%)
HSVhsv(275, 69%, 76%)
CMYKcmyk(28.2%, 68.7%, 0%, 23.5%)
CIE-LABlab(42.54, 56.20, -56.32)
CIE-LCHlch(42.54, 79.56, 314.94°)
OKLaboklab(52.94% 0.1243 -0.1596)
OKLCHoklch(52.94% 0.202 307.9)
XYZxyz(22.3322, 12.8534, 52.9237)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3DC3 #74C33D
analogous
#493DC3 #8C3DC3 #C33DB7
triadic
#8C3DC3 #C38C3D #3DC38C
tetradic
#8C3DC3 #C3493D #74C33D #3DB7C3
square
#8C3DC3 #C3493D #74C33D #3DB7C3
split-complementary
#8C3DC3 #B7C33D #3DC349
monochromatic
#492066 #6B2E95 #8C3DC3 #A86CD1 #C39AE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C3DC3#FFFFFF#000000##FFFFFF
##8C3DC31.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)
#0062C7
Deuteranopia (green-blind)
#1D65C0
Tritanopia (blue-blind)
#835A7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c3dc3;
/* rgb */ color: rgb(140, 61, 195);
/* oklch */ color: oklch(52.9% 0.202 307.9);
Tailwind
colors: {
  custom: {
    50: '#b279d6',
    500: '#8c3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #8c3dc3;
$custom-light: #b279d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3dc3",
  "rgb": {
    "r": 140,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 275.373,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52943,
    "c": 0.20224,
    "h": 307.9
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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