#8D41D9#8D41D9

#8D41D9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.220 H 302.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8D41D9
RGBrgb(141, 65, 217)
HSLhsl(270, 67%, 55%)
HSVhsv(270, 70%, 85%)
CMYKcmyk(35%, 70%, 0%, 14.9%)
CIE-LABlab(44.88, 59.65, -65.22)
CIE-LCHlch(44.88, 88.39, 312.44°)
OKLaboklab(55.13% 0.1184 -0.1857)
OKLCHoklch(55.13% 0.22 302.5)
XYZxyz(25.3962, 14.4530, 67.0839)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41D9 #8DD941
analogous
#4141D9 #8D41D9 #D941D9
triadic
#8D41D9 #D98D41 #41D98D
tetradic
#8D41D9 #D94141 #8DD941 #41D9D9
square
#8D41D9 #D94141 #8DD941 #41D9D9
split-complementary
#8D41D9 #D9D941 #41D941
monochromatic
#501B85 #6E25B8 #8D41D9 #AC74E3 #CAA7ED

Accessibility & contrast

On white

5.40
#8D41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8D41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41D9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41D9#FFFFFF#000000##FFFFFF
##8D41D91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#7D6589
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d41d9;
/* rgb */ color: rgb(141, 65, 217);
/* oklch */ color: oklch(55.1% 0.220 302.5);
Tailwind
colors: {
  custom: {
    50: '#b47ce6',
    500: '#8d41d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d41d9;
$custom-light: #b47ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41d9",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.22026,
    "h": 302.5
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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