#8D41D4#8D41D4

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

Color values

HEX#8D41D4
RGBrgb(141, 65, 212)
HSLhsl(271, 63%, 54%)
HSVhsv(271, 69%, 83%)
CMYKcmyk(33.5%, 69.3%, 0%, 16.9%)
CIE-LABlab(44.51, 58.48, -62.95)
CIE-LCHlch(44.51, 85.92, 312.89°)
OKLaboklab(54.76% 0.1192 -0.179)
OKLCHoklch(54.76% 0.215 303.7)
XYZxyz(24.7557, 14.1968, 63.7107)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41D4 #88D441
analogous
#4441D4 #8D41D4 #D441D2
triadic
#8D41D4 #D48D41 #41D48D
tetradic
#8D41D4 #D44441 #88D441 #41D2D4
square
#8D41D4 #D44441 #88D441 #41D2D4
split-complementary
#8D41D4 #D2D441 #41D444
monochromatic
#4F1D7E #6E28B0 #8D41D4 #AB73DF #C9A5EB

Accessibility & contrast

On white

5.47
#8D41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8D41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41D4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41D4#FFFFFF#000000##FFFFFF
##8D41D41.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#7F6386
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d41d4;
/* rgb */ color: rgb(141, 65, 212);
/* oklch */ color: oklch(54.8% 0.215 303.7);
Tailwind
colors: {
  custom: {
    50: '#b47be2',
    500: '#8d41d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d41d4;
$custom-light: #b47be2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41d4",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 271.02,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.21507,
    "h": 303.7
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#8D41D4
secondary
#B7D899
accent
#E64291
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8D41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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