#8D41CA#8D41CA

#8D41CA is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.205 H 306.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8D41CA
RGBrgb(141, 65, 202)
HSLhsl(273, 56%, 52%)
HSVhsv(273, 68%, 79%)
CMYKcmyk(30.2%, 67.8%, 0%, 20.8%)
CIE-LABlab(43.81, 56.16, -58.32)
CIE-LCHlch(43.81, 80.97, 313.92°)
OKLaboklab(54.03% 0.1205 -0.1654)
OKLCHoklch(54.03% 0.205 306.1)
XYZxyz(23.5332, 13.7078, 57.2718)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41CA #7ECA41
analogous
#4941CA #8D41CA #CA41C2
triadic
#8D41CA #CA8D41 #41CA8D
tetradic
#8D41CA #CA4941 #7ECA41 #41C2CA
square
#8D41CA #CA4941 #7ECA41 #41C2CA
split-complementary
#8D41CA #C2CA41 #41CA49
monochromatic
#4D2071 #6D2DA1 #8D41CA #AA71D7 #C6A1E5

Accessibility & contrast

On white

5.61
#8D41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8D41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41CA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41CA#FFFFFF#000000##FFFFFF
##8D41CA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#1768C7
Tritanopia (blue-blind)
#825F80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d41ca;
/* rgb */ color: rgb(141, 65, 202);
/* oklch */ color: oklch(54.0% 0.205 306.1);
Tailwind
colors: {
  custom: {
    50: '#b37bdb',
    500: '#8d41ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d41ca;
$custom-light: #b37bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41ca",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 273.285,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.20467,
    "h": 306.1
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#8D41CA
secondary
#B0D196
accent
#E0488C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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