#8C3DCE#8C3DCE

#8C3DCE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.213 H 305.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8C3DCE
RGBrgb(140, 61, 206)
HSLhsl(273, 60%, 52%)
HSVhsv(273, 70%, 81%)
CMYKcmyk(32%, 70.4%, 0%, 19.2%)
CIE-LABlab(43.31, 58.70, -61.44)
CIE-LCHlch(43.31, 84.97, 313.69°)
OKLaboklab(53.74% 0.1228 -0.1746)
OKLCHoklch(53.74% 0.213 305.1)
XYZxyz(23.6220, 13.3693, 59.7166)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3DCE #7FCE3D
analogous
#443DCE #8C3DCE #CE3DC7
triadic
#8C3DCE #CE8C3D #3DCE8C
tetradic
#8C3DCE #CE443D #7FCE3D #3DC7CE
square
#8C3DCE #CE443D #7FCE3D #3DC7CE
split-complementary
#8C3DCE #C7CE3D #3DCE44
monochromatic
#4C1D73 #6C29A4 #8C3DCE #A96EDA #C69FE7

Accessibility & contrast

On white

5.72
#8C3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8C3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3DCE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3DCE#FFFFFF#000000##FFFFFF
##8C3DCE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#805F81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c3dce;
/* rgb */ color: rgb(140, 61, 206);
/* oklch */ color: oklch(53.7% 0.213 305.1);
Tailwind
colors: {
  custom: {
    50: '#b379de',
    500: '#8c3dce',
    950: '#000000',
  },
}
SCSS
$custom: #8c3dce;
$custom-light: #b379de;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3dce",
  "rgb": {
    "r": 140,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 272.69,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.21347,
    "h": 305.1
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#8C3DCE
secondary
#B1D394
accent
#E3458D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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