#8C4FDE#8C4FDE

#8C4FDE is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.208 H 299.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8C4FDE
RGBrgb(140, 79, 222)
HSLhsl(266, 68%, 59%)
HSVhsv(266, 64%, 87%)
CMYKcmyk(36.9%, 64.4%, 0%, 12.9%)
CIE-LABlab(47.55, 53.93, -63.75)
CIE-LCHlch(47.55, 83.50, 310.23°)
OKLaboklab(57.13% 0.1019 -0.1815)
OKLCHoklch(57.13% 0.208 299.3)
XYZxyz(26.7927, 16.4411, 70.8549)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4FDE #A1DE4F
analogous
#4F5ADE #8C4FDE #D34FDE
triadic
#8C4FDE #DE8C4F #4FDE8C
tetradic
#8C4FDE #DE4F5A #A1DE4F #4FDED3
square
#8C4FDE #DE4F5A #A1DE4F #4FDED3
split-complementary
#8C4FDE #DED34F #5ADE4F
monochromatic
#501C96 #6C26CA #8C4FDE #AE83E8 #CFB6F1

Accessibility & contrast

On white

4.90
#8C4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8C4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4FDE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4FDE#FFFFFF#000000##FFFFFF
##8C4FDE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#796F90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8c4fde;
/* rgb */ color: rgb(140, 79, 222);
/* oklch */ color: oklch(57.1% 0.208 299.3);
Tailwind
colors: {
  custom: {
    50: '#b384e9',
    500: '#8c4fde',
    950: '#000000',
  },
}
SCSS
$custom: #8c4fde;
$custom-light: #b384e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4fde",
  "rgb": {
    "r": 140,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 265.594,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57126,
    "c": 0.20812,
    "h": 299.3
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#8C4FDE
secondary
#C9E0A8
accent
#EB3DA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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