#8C4FDA#8C4FDA

#8C4FDA is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.204 H 300.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8C4FDA
RGBrgb(140, 79, 218)
HSLhsl(266, 65%, 58%)
HSVhsv(266, 64%, 85%)
CMYKcmyk(35.8%, 63.8%, 0%, 14.5%)
CIE-LABlab(47.27, 52.93, -61.92)
CIE-LCHlch(47.27, 81.46, 310.53°)
OKLaboklab(56.84% 0.1022 -0.1761)
OKLCHoklch(56.84% 0.204 300.1)
XYZxyz(26.2630, 16.2292, 68.0650)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4FDA #9DDA4F
analogous
#4F57DA #8C4FDA #D14FDA
triadic
#8C4FDA #DA8C4F #4FDA8C
tetradic
#8C4FDA #DA4F57 #9DDA4F #4FDAD1
square
#8C4FDA #DA4F57 #9DDA4F #4FDAD1
split-complementary
#8C4FDA #DAD14F #57DA4F
monochromatic
#501E90 #6C29C3 #8C4FDA #AD82E5 #CEB4EF

Accessibility & contrast

On white

4.95
#8C4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8C4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4FDA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4FDA#FFFFFF#000000##FFFFFF
##8C4FDA1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0C6FD7
Tritanopia (blue-blind)
#7B6E8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8c4fda;
/* rgb */ color: rgb(140, 79, 218);
/* oklch */ color: oklch(56.8% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#b384e6',
    500: '#8c4fda',
    950: '#000000',
  },
}
SCSS
$custom: #8c4fda;
$custom-light: #b384e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4fda",
  "rgb": {
    "r": 140,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 266.331,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56842,
    "c": 0.20362,
    "h": 300.1
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#8C4FDA
secondary
#C6DEA7
accent
#E8409E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8C4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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