#8D41C8#8D41C8

#8D41C8 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.203 H 306.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8D41C8
RGBrgb(141, 65, 200)
HSLhsl(274, 55%, 52%)
HSVhsv(274, 68%, 78%)
CMYKcmyk(29.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(43.67, 55.70, -57.39)
CIE-LCHlch(43.67, 79.97, 314.15°)
OKLaboklab(53.89% 0.1207 -0.1627)
OKLCHoklch(53.89% 0.203 306.6)
XYZxyz(23.2979, 13.6137, 56.0327)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41C8 #7CC841
analogous
#4A41C8 #8D41C8 #C841BF
triadic
#8D41C8 #C88D41 #41C88D
tetradic
#8D41C8 #C84A41 #7CC841 #41BFC8
square
#8D41C8 #C84A41 #7CC841 #41BFC8
split-complementary
#8D41C8 #BFC841 #41C84A
monochromatic
#4C206F #6D2E9E #8D41C8 #A970D6 #C6A0E3

Accessibility & contrast

On white

5.64
#8D41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8D41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41C8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41C8#FFFFFF#000000##FFFFFF
##8D41C81.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#1C68C5
Tritanopia (blue-blind)
#835F7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d41c8;
/* rgb */ color: rgb(141, 65, 200);
/* oklch */ color: oklch(53.9% 0.203 306.6);
Tailwind
colors: {
  custom: {
    50: '#b37bd9',
    500: '#8d41c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d41c8;
$custom-light: #b37bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41c8",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 273.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.20259,
    "h": 306.6
  },
  "luminance": 0.13613
}

Semantic roles & 50–950 ramp

primary
#8D41C8
secondary
#AFD095
accent
#DE498B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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