#8C41DE#8C41DE

#8C41DE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.225 H 301.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8C41DE
RGBrgb(140, 65, 222)
HSLhsl(269, 70%, 56%)
HSVhsv(269, 71%, 87%)
CMYKcmyk(36.9%, 70.7%, 0%, 12.9%)
CIE-LABlab(45.12, 60.64, -67.68)
CIE-LCHlch(45.12, 90.88, 311.86°)
OKLaboklab(55.39% 0.1162 -0.193)
OKLCHoklch(55.39% 0.225 301.1)
XYZxyz(25.8871, 14.6298, 70.5531)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C41DE #93DE41
analogous
#4145DE #8C41DE #DA41DE
triadic
#8C41DE #DE8C41 #41DE8C
tetradic
#8C41DE #DE4145 #93DE41 #41DEDA
square
#8C41DE #DE4145 #93DE41 #41DEDA
split-complementary
#8C41DE #DEDA41 #45DE41
monochromatic
#50188C #6D21C0 #8C41DE #AC75E7 #CBA9F0

Accessibility & contrast

On white

5.35
#8C41DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8C41DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C41DE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C41DE#FFFFFF#000000##FFFFFF
##8C41DE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#7A678B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8c41de;
/* rgb */ color: rgb(140, 65, 222);
/* oklch */ color: oklch(55.4% 0.225 301.1);
Tailwind
colors: {
  custom: {
    50: '#b47ce9',
    500: '#8c41de',
    950: '#000000',
  },
}
SCSS
$custom: #8c41de;
$custom-light: #b47ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c41de",
  "rgb": {
    "r": 140,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 268.662,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.22527,
    "h": 301.1
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#8C41DE
secondary
#BFDE9D
accent
#ED3B98
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C41DE

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

Preview Lab → · Contrast checker → · Palette generator →

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