#8C4FCA#8C4FCA

#8C4FCA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.185 H 303.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8C4FCA
RGBrgb(140, 79, 202)
HSLhsl(270, 54%, 55%)
HSVhsv(270, 61%, 79%)
CMYKcmyk(30.7%, 60.9%, 0%, 20.8%)
CIE-LABlab(46.22, 49.02, -54.44)
CIE-LCHlch(46.22, 73.26, 312.00°)
OKLaboklab(55.74% 0.1032 -0.1541)
OKLCHoklch(55.74% 0.186 303.8)
XYZxyz(24.2695, 15.4317, 57.5657)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4FCA #8DCA4F
analogous
#4F4FCA #8C4FCA #C94FCA
triadic
#8C4FCA #CA8C4F #4FCA8C
tetradic
#8C4FCA #CA4F4F #8DCA4F #4FCAC9
square
#8C4FCA #CA4F4F #8DCA4F #4FCAC9
split-complementary
#8C4FCA #CAC94F #4FCA4F
monochromatic
#4F257A #6D33A9 #8C4FCA #AB7ED8 #C9ADE6

Accessibility & contrast

On white

5.14
#8C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8C4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4FCA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4FCA#FFFFFF#000000##FFFFFF
##8C4FCA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046CCE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#806885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8c4fca;
/* rgb */ color: rgb(140, 79, 202);
/* oklch */ color: oklch(55.7% 0.185 303.8);
Tailwind
colors: {
  custom: {
    50: '#b283db',
    500: '#8c4fca',
    950: '#000000',
  },
}
SCSS
$custom: #8c4fca;
$custom-light: #b283db;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4fca",
  "rgb": {
    "r": 140,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 269.756,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55742,
    "c": 0.1855,
    "h": 303.8
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#8C4FCA
secondary
#BBD4A1
accent
#DD4B94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8C4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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