#8C4FE0#8C4FE0

#8C4FE0 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.210 H 298.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8C4FE0
RGBrgb(140, 79, 224)
HSLhsl(265, 70%, 59%)
HSVhsv(265, 65%, 88%)
CMYKcmyk(37.5%, 64.7%, 0%, 12.2%)
CIE-LABlab(47.69, 54.43, -64.66)
CIE-LCHlch(47.69, 84.52, 310.09°)
OKLaboklab(57.27% 0.1017 -0.1842)
OKLCHoklch(57.27% 0.21 298.9)
XYZxyz(27.0624, 16.5489, 72.2750)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4FE0 #A3E04F
analogous
#4F5BE0 #8C4FE0 #D44FE0
triadic
#8C4FE0 #E08C4F #4FE08C
tetradic
#8C4FE0 #E04F5B #A3E04F #4FE0D4
square
#8C4FE0 #E04F5B #A3E04F #4FE0D4
split-complementary
#8C4FE0 #E0D44F #5BE04F
monochromatic
#501B9A #6B24CE #8C4FE0 #AE83E9 #D0B7F2

Accessibility & contrast

On white

4.87
#8C4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8C4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4FE0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4FE0#FFFFFF#000000##FFFFFF
##8C4FE01.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#797091
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8c4fe0;
/* rgb */ color: rgb(140, 79, 224);
/* oklch */ color: oklch(57.3% 0.210 298.9);
Tailwind
colors: {
  custom: {
    50: '#b384eb',
    500: '#8c4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8c4fe0;
$custom-light: #b384eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4fe0",
  "rgb": {
    "r": 140,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 265.241,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5727,
    "c": 0.21037,
    "h": 298.9
  },
  "luminance": 0.16549
}

Semantic roles & 50–950 ramp

primary
#8C4FE0
secondary
#CAE2A9
accent
#ED3BA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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