#8D41D5#8D41D5

#8D41D5 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.216 H 303.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8D41D5
RGBrgb(141, 65, 213)
HSLhsl(271, 64%, 55%)
HSVhsv(271, 69%, 84%)
CMYKcmyk(33.8%, 69.5%, 0%, 16.5%)
CIE-LABlab(44.59, 58.71, -63.40)
CIE-LCHlch(44.59, 86.41, 312.80°)
OKLaboklab(54.83% 0.119 -0.1804)
OKLCHoklch(54.83% 0.216 303.4)
XYZxyz(24.8823, 14.2474, 64.3771)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41D5 #89D541
analogous
#4341D5 #8D41D5 #D541D3
triadic
#8D41D5 #D58D41 #41D58D
tetradic
#8D41D5 #D54341 #89D541 #41D3D5
square
#8D41D5 #D54341 #89D541 #41D3D5
split-complementary
#8D41D5 #D3D541 #41D543
monochromatic
#4F1C7F #6E27B2 #8D41D5 #AB73E0 #C9A5EB

Accessibility & contrast

On white

5.46
#8D41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8D41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41D5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41D5#FFFFFF#000000##FFFFFF
##8D41D51.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#7F6486
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d41d5;
/* rgb */ color: rgb(141, 65, 213);
/* oklch */ color: oklch(54.8% 0.216 303.4);
Tailwind
colors: {
  custom: {
    50: '#b47be3',
    500: '#8d41d5',
    950: '#000000',
  },
}
SCSS
$custom: #8d41d5;
$custom-light: #b47be3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41d5",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 270.811,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54829,
    "c": 0.21611,
    "h": 303.4
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#8D41D5
secondary
#B8D89A
accent
#E74192
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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