#8C41D9#8C41D9

#8C41D9 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.220 H 302.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8C41D9
RGBrgb(140, 65, 217)
HSLhsl(270, 67%, 55%)
HSVhsv(270, 70%, 85%)
CMYKcmyk(35.5%, 70%, 0%, 14.9%)
CIE-LABlab(44.75, 59.46, -65.43)
CIE-LCHlch(44.75, 88.41, 312.26°)
OKLaboklab(55.01% 0.1171 -0.1864)
OKLCHoklch(55.01% 0.22 302.1)
XYZxyz(25.2269, 14.3657, 67.0760)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C41D9 #8ED941
analogous
#4142D9 #8C41D9 #D841D9
triadic
#8C41D9 #D98C41 #41D98C
tetradic
#8C41D9 #D94142 #8ED941 #41D9D8
square
#8C41D9 #D94142 #8ED941 #41D9D8
split-complementary
#8C41D9 #D9D841 #42D941
monochromatic
#4F1B85 #6D25B8 #8C41D9 #AB74E3 #CAA7ED

Accessibility & contrast

On white

5.42
#8C41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8C41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C41D9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C41D9#FFFFFF#000000##FFFFFF
##8C41D91.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#7C6589
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8c41d9;
/* rgb */ color: rgb(140, 65, 217);
/* oklch */ color: oklch(55.0% 0.220 302.1);
Tailwind
colors: {
  custom: {
    50: '#b37be6',
    500: '#8c41d9',
    950: '#000000',
  },
}
SCSS
$custom: #8c41d9;
$custom-light: #b37be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c41d9",
  "rgb": {
    "r": 140,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 269.605,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.22008,
    "h": 302.1
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#8C41D9
secondary
#BBDB9B
accent
#EA3E95
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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