#8C3FCC#8C3FCC

#8C3FCC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.209 H 305.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8C3FCC
RGBrgb(140, 63, 204)
HSLhsl(273, 58%, 52%)
HSVhsv(273, 69%, 80%)
CMYKcmyk(31.4%, 69.1%, 0%, 20%)
CIE-LABlab(43.49, 57.34, -60.00)
CIE-LCHlch(43.49, 82.99, 313.70°)
OKLaboklab(53.82% 0.121 -0.1704)
OKLCHoklch(53.82% 0.209 305.4)
XYZxyz(23.4894, 13.4903, 58.4815)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3FCC #7FCC3F
analogous
#453FCC #8C3FCC #CC3FC6
triadic
#8C3FCC #CC8C3F #3FCC8C
tetradic
#8C3FCC #CC453F #7FCC3F #3FC6CC
square
#8C3FCC #CC453F #7FCC3F #3FC6CC
split-complementary
#8C3FCC #C6CC3F #3FCC45
monochromatic
#4C1E72 #6C2BA3 #8C3FCC #A96FD9 #C6A0E6

Accessibility & contrast

On white

5.68
#8C3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8C3FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3FCC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3FCC#FFFFFF#000000##FFFFFF
##8C3FCC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0567C9
Tritanopia (blue-blind)
#805F81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c3fcc;
/* rgb */ color: rgb(140, 63, 204);
/* oklch */ color: oklch(53.8% 0.209 305.4);
Tailwind
colors: {
  custom: {
    50: '#b37adc',
    500: '#8c3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8c3fcc;
$custom-light: #b37adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3fcc",
  "rgb": {
    "r": 140,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 272.766,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.20899,
    "h": 305.4
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#8C3FCC
secondary
#B1D295
accent
#E1478D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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