#8C4FE9#8C4FE9

#8C4FE9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.220 H 297.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8C4FE9
RGBrgb(140, 79, 233)
HSLhsl(264, 78%, 61%)
HSVhsv(264, 66%, 91%)
CMYKcmyk(39.9%, 66.1%, 0%, 8.6%)
CIE-LABlab(48.32, 56.68, -68.72)
CIE-LCHlch(48.32, 89.08, 309.52°)
OKLaboklab(57.93% 0.1007 -0.1961)
OKLCHoklch(57.93% 0.22 297.2)
XYZxyz(28.3154, 17.0501, 78.8742)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4FE9 #ACE94F
analogous
#4F5FE9 #8C4FE9 #D94FE9
triadic
#8C4FE9 #E98C4F #4FE98C
tetradic
#8C4FE9 #E94F5F #ACE94F #4FE9D9
square
#8C4FE9 #E94F5F #ACE94F #4FE9D9
split-complementary
#8C4FE9 #E9D94F #5FE94F
monochromatic
#4F15A9 #691CDF #8C4FE9 #B085F0 #D3BCF7

Accessibility & contrast

On white

4.76
#8C4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8C4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4FE9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4FE9#FFFFFF#000000##FFFFFF
##8C4FE91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#757396
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8c4fe9;
/* rgb */ color: rgb(140, 79, 233);
/* oklch */ color: oklch(57.9% 0.220 297.2);
Tailwind
colors: {
  custom: {
    50: '#b484f1',
    500: '#8c4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8c4fe9;
$custom-light: #b484f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4fe9",
  "rgb": {
    "r": 140,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 263.766,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.22042,
    "h": 297.2
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#8C4FE9
secondary
#D0E7AD
accent
#DA0B88
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8C4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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