#8C3CD1#8C3CD1

#8C3CD1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.218 H 304.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8C3CD1
RGBrgb(140, 60, 209)
HSLhsl(272, 62%, 53%)
HSVhsv(272, 71%, 82%)
CMYKcmyk(33%, 71.3%, 0%, 18%)
CIE-LABlab(43.38, 59.82, -63.07)
CIE-LCHlch(43.38, 86.93, 313.48°)
OKLaboklab(53.85% 0.1233 -0.1794)
OKLCHoklch(53.85% 0.218 304.5)
XYZxyz(23.9371, 13.4107, 61.6367)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3CD1 #81D13C
analogous
#413CD1 #8C3CD1 #D13CCB
triadic
#8C3CD1 #D18C3C #3CD18C
tetradic
#8C3CD1 #D1413C #81D13C #3CCBD1
square
#8C3CD1 #D1413C #81D13C #3CCBD1
split-complementary
#8C3CD1 #CBD13C #3CD141
monochromatic
#4D1C77 #6D28A8 #8C3CD1 #A96EDD #C69FE8

Accessibility & contrast

On white

5.70
#8C3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8C3CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3CD1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3CD1#FFFFFF#000000##FFFFFF
##8C3CD11.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#7F5F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c3cd1;
/* rgb */ color: rgb(140, 60, 209);
/* oklch */ color: oklch(53.8% 0.218 304.5);
Tailwind
colors: {
  custom: {
    50: '#b378e0',
    500: '#8c3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8c3cd1;
$custom-light: #b378e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3cd1",
  "rgb": {
    "r": 140,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 272.215,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.21769,
    "h": 304.5
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#8C3CD1
secondary
#B2D594
accent
#E5438E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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