#8C3DCD#8C3DCD

#8C3DCD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.212 H 305.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8C3DCD
RGBrgb(140, 61, 205)
HSLhsl(273, 59%, 52%)
HSVhsv(273, 70%, 80%)
CMYKcmyk(31.7%, 70.2%, 0%, 19.6%)
CIE-LABlab(43.24, 58.47, -60.98)
CIE-LCHlch(43.24, 84.48, 313.79°)
OKLaboklab(53.67% 0.1229 -0.1733)
OKLCHoklch(53.67% 0.212 305.4)
XYZxyz(23.5010, 13.3209, 59.0789)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3DCD #7ECD3D
analogous
#443DCD #8C3DCD #CD3DC6
triadic
#8C3DCD #CD8C3D #3DCD8C
tetradic
#8C3DCD #CD443D #7ECD3D #3DC6CD
square
#8C3DCD #CD443D #7ECD3D #3DC6CD
split-complementary
#8C3DCD #C6CD3D #3DCD44
monochromatic
#4C1D72 #6C2AA3 #8C3DCD #A96EDA #C69EE6

Accessibility & contrast

On white

5.73
#8C3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8C3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3DCD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3DCD#FFFFFF#000000##FFFFFF
##8C3DCD1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#805E81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c3dcd;
/* rgb */ color: rgb(140, 61, 205);
/* oklch */ color: oklch(53.7% 0.212 305.4);
Tailwind
colors: {
  custom: {
    50: '#b379dd',
    500: '#8c3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8c3dcd;
$custom-light: #b379dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3dcd",
  "rgb": {
    "r": 140,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 272.917,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.21244,
    "h": 305.4
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#8C3DCD
secondary
#B0D293
accent
#E2468C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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