#8D41C9#8D41C9

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

Color values

HEX#8D41C9
RGBrgb(141, 65, 201)
HSLhsl(274, 56%, 52%)
HSVhsv(274, 68%, 79%)
CMYKcmyk(29.9%, 67.7%, 0%, 21.2%)
CIE-LABlab(43.74, 55.93, -57.85)
CIE-LCHlch(43.74, 80.47, 314.03°)
OKLaboklab(53.96% 0.1206 -0.1641)
OKLCHoklch(53.96% 0.204 306.3)
XYZxyz(23.4151, 13.6606, 56.6502)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41C9 #7DC941
analogous
#4941C9 #8D41C9 #C941C1
triadic
#8D41C9 #C98D41 #41C98D
tetradic
#8D41C9 #C94941 #7DC941 #41C1C9
square
#8D41C9 #C94941 #7DC941 #41C1C9
split-complementary
#8D41C9 #C1C941 #41C949
monochromatic
#4D2070 #6D2D9F #8D41C9 #AA71D7 #C6A0E4

Accessibility & contrast

On white

5.63
#8D41C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8D41C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41C9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41C9#FFFFFF#000000##FFFFFF
##8D41C91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#1A68C6
Tritanopia (blue-blind)
#835F80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d41c9;
/* rgb */ color: rgb(141, 65, 201);
/* oklch */ color: oklch(54.0% 0.204 306.3);
Tailwind
colors: {
  custom: {
    50: '#b37bda',
    500: '#8d41c9',
    950: '#000000',
  },
}
SCSS
$custom: #8d41c9;
$custom-light: #b37bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41c9",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 273.529,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.20364,
    "h": 306.3
  },
  "luminance": 0.1366
}

Semantic roles & 50–950 ramp

primary
#8D41C9
secondary
#AFD195
accent
#DF498B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D41C9

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

Preview Lab → · Contrast checker → · Palette generator →

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