#8C3ECC#8C3ECC

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

Color values

HEX#8C3ECC
RGBrgb(140, 62, 204)
HSLhsl(273, 58%, 52%)
HSVhsv(273, 70%, 80%)
CMYKcmyk(31.4%, 69.6%, 0%, 20%)
CIE-LABlab(43.33, 57.79, -60.26)
CIE-LCHlch(43.33, 83.49, 313.80°)
OKLaboklab(53.71% 0.1221 -0.1712)
OKLCHoklch(53.71% 0.21 305.5)
XYZxyz(23.4345, 13.3805, 58.4632)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3ECC #7ECC3E
analogous
#453ECC #8C3ECC #CC3EC5
triadic
#8C3ECC #CC8C3E #3ECC8C
tetradic
#8C3ECC #CC453E #7ECC3E #3EC5CC
square
#8C3ECC #CC453E #7ECC3E #3EC5CC
split-complementary
#8C3ECC #C5CC3E #3ECC45
monochromatic
#4C1E72 #6C2BA2 #8C3ECC #A96ED9 #C69FE6

Accessibility & contrast

On white

5.71
#8C3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C3ECC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3ECC#FFFFFF#000000##FFFFFF
##8C3ECC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0067C9
Tritanopia (blue-blind)
#805F81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c3ecc;
/* rgb */ color: rgb(140, 62, 204);
/* oklch */ color: oklch(53.7% 0.210 305.5);
Tailwind
colors: {
  custom: {
    50: '#b379dc',
    500: '#8c3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ecc;
$custom-light: #b379dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ecc",
  "rgb": {
    "r": 140,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 272.958,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53705,
    "c": 0.21022,
    "h": 305.5
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#8C3ECC
secondary
#B0D294
accent
#E1468C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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