#8C3FD6#8C3FD6

#8C3FD6 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.219 H 303.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8C3FD6
RGBrgb(140, 63, 214)
HSLhsl(271, 65%, 54%)
HSVhsv(271, 71%, 84%)
CMYKcmyk(34.6%, 70.6%, 0%, 16.1%)
CIE-LABlab(44.21, 59.66, -64.59)
CIE-LCHlch(44.21, 87.92, 312.73°)
OKLaboklab(54.56% 0.1195 -0.1839)
OKLCHoklch(54.56% 0.219 303)
XYZxyz(24.7275, 13.9855, 65.0020)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3FD6 #89D63F
analogous
#413FD6 #8C3FD6 #D63FD5
triadic
#8C3FD6 #D68C3F #3FD68C
tetradic
#8C3FD6 #D6413F #89D63F #3FD5D6
square
#8C3FD6 #D6413F #89D63F #3FD5D6
split-complementary
#8C3FD6 #D5D63F #3FD641
monochromatic
#4E1B7F #6D26B2 #8C3FD6 #AA71E1 #C8A4EC

Accessibility & contrast

On white

5.53
#8C3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8C3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3FD6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3FD6#FFFFFF#000000##FFFFFF
##8C3FD61.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#7D6386
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8c3fd6;
/* rgb */ color: rgb(140, 63, 214);
/* oklch */ color: oklch(54.6% 0.219 303.0);
Tailwind
colors: {
  custom: {
    50: '#b37ae4',
    500: '#8c3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #8c3fd6;
$custom-light: #b37ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3fd6",
  "rgb": {
    "r": 140,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 270.596,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.21931,
    "h": 303
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#8C3FD6
secondary
#B8D898
accent
#E84092
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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