#8D41C7#8D41C7

#8D41C7 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.202 H 306.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D41C7
RGBrgb(141, 65, 199)
HSLhsl(274, 54%, 52%)
HSVhsv(274, 67%, 78%)
CMYKcmyk(29.1%, 67.3%, 0%, 22%)
CIE-LABlab(43.61, 55.47, -56.92)
CIE-LCHlch(43.61, 79.48, 314.26°)
OKLaboklab(53.82% 0.1208 -0.1613)
OKLCHoklch(53.82% 0.202 306.8)
XYZxyz(23.1814, 13.5671, 55.4193)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41C7 #7BC741
analogous
#4A41C7 #8D41C7 #C741BE
triadic
#8D41C7 #C78D41 #41C78D
tetradic
#8D41C7 #C74A41 #7BC741 #41BEC7
square
#8D41C7 #C74A41 #7BC741 #41BEC7
split-complementary
#8D41C7 #BEC741 #41C74A
monochromatic
#4C206D #6D2E9D #8D41C7 #A970D5 #C6A0E3

Accessibility & contrast

On white

5.66
#8D41C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8D41C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41C7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41C7#FFFFFF#000000##FFFFFF
##8D41C71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#1E68C4
Tritanopia (blue-blind)
#835E7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d41c7;
/* rgb */ color: rgb(141, 65, 199);
/* oklch */ color: oklch(53.8% 0.202 306.8);
Tailwind
colors: {
  custom: {
    50: '#b37bd9',
    500: '#8d41c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d41c7;
$custom-light: #b37bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41c7",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 274.03,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.20155,
    "h": 306.8
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#8D41C7
secondary
#AECF95
accent
#DE4A8A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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