#8D41D8#8D41D8

#8D41D8 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.1% C 0.219 H 302.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D41D8
RGBrgb(141, 65, 216)
HSLhsl(270, 66%, 55%)
HSVhsv(270, 70%, 85%)
CMYKcmyk(34.7%, 69.9%, 0%, 15.3%)
CIE-LABlab(44.80, 59.41, -64.77)
CIE-LCHlch(44.80, 87.89, 312.53°)
OKLaboklab(55.05% 0.1186 -0.1844)
OKLCHoklch(55.05% 0.219 302.7)
XYZxyz(25.2666, 14.4012, 66.4010)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41D8 #8CD841
analogous
#4241D8 #8D41D8 #D841D7
triadic
#8D41D8 #D88D41 #41D88D
tetradic
#8D41D8 #D84241 #8CD841 #41D7D8
square
#8D41D8 #D84241 #8CD841 #41D7D8
split-complementary
#8D41D8 #D7D841 #41D842
monochromatic
#501B84 #6E25B6 #8D41D8 #AB74E2 #CAA7ED

Accessibility & contrast

On white

5.41
#8D41D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8D41D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41D8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41D8#FFFFFF#000000##FFFFFF
##8D41D81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#7E6588
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d41d8;
/* rgb */ color: rgb(141, 65, 216);
/* oklch */ color: oklch(55.1% 0.219 302.7);
Tailwind
colors: {
  custom: {
    50: '#b47ce5',
    500: '#8d41d8',
    950: '#000000',
  },
}
SCSS
$custom: #8d41d8;
$custom-light: #b47ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41d8",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 270.199,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.21923,
    "h": 302.7
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#8D41D8
secondary
#BADA9B
accent
#E93F93
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D41D8

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

Preview Lab → · Contrast checker → · Palette generator →

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