#8C4EDE#8C4EDE

#8C4EDE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.209 H 299.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8C4EDE
RGBrgb(140, 78, 222)
HSLhsl(266, 69%, 59%)
HSVhsv(266, 65%, 87%)
CMYKcmyk(36.9%, 64.9%, 0%, 12.9%)
CIE-LABlab(47.36, 54.43, -64.05)
CIE-LCHlch(47.36, 84.05, 310.36°)
OKLaboklab(56.99% 0.103 -0.1824)
OKLCHoklch(56.99% 0.209 299.4)
XYZxyz(26.7212, 16.2979, 70.8311)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4EDE #A0DE4E
analogous
#4E58DE #8C4EDE #D44EDE
triadic
#8C4EDE #DE8C4E #4EDE8C
tetradic
#8C4EDE #DE4E58 #A0DE4E #4EDED4
square
#8C4EDE #DE4E58 #A0DE4E #4EDED4
split-complementary
#8C4EDE #DED44E #58DE4E
monochromatic
#501C96 #6C26C9 #8C4EDE #AE82E8 #CFB5F1

Accessibility & contrast

On white

4.93
#8C4EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8C4EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4EDE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4EDE#FFFFFF#000000##FFFFFF
##8C4EDE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#796F8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8c4ede;
/* rgb */ color: rgb(140, 78, 222);
/* oklch */ color: oklch(57.0% 0.209 299.4);
Tailwind
colors: {
  custom: {
    50: '#b383e9',
    500: '#8c4ede',
    950: '#000000',
  },
}
SCSS
$custom: #8c4ede;
$custom-light: #b383e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4ede",
  "rgb": {
    "r": 140,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 265.833,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.20942,
    "h": 299.4
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#8C4EDE
secondary
#C8E0A8
accent
#EB3CA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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