#8D41B5#8D41B5

#8D41B5 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.183 H 311.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8D41B5
RGBrgb(141, 65, 181)
HSLhsl(279, 47%, 48%)
HSVhsv(279, 64%, 71%)
CMYKcmyk(22.1%, 64.1%, 0%, 29%)
CIE-LABlab(42.43, 51.44, -48.30)
CIE-LCHlch(42.43, 70.56, 316.81°)
OKLaboklab(52.6% 0.1222 -0.136)
OKLCHoklch(52.6% 0.183 311.9)
XYZxyz(21.2138, 12.7800, 45.0564)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41B5 #69B541
analogous
#5341B5 #8D41B5 #B541A3
triadic
#8D41B5 #B58D41 #41B58D
tetradic
#8D41B5 #B55341 #69B541 #41A3B5
square
#8D41B5 #B55341 #69B541 #41A3B5
split-complementary
#8D41B5 #A3B541 #41B553
monochromatic
#47215B #6A3188 #8D41B5 #A86AC9 #C397DA

Accessibility & contrast

On white

5.91
#8D41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8D41B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41B5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41B5#FFFFFF#000000##FFFFFF
##8D41B51.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B9
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#885875
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d41b5;
/* rgb */ color: rgb(141, 65, 181);
/* oklch */ color: oklch(52.6% 0.183 311.9);
Tailwind
colors: {
  custom: {
    50: '#b27acc',
    500: '#8d41b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d41b5;
$custom-light: #b27acc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41b5",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 279.31,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.18282,
    "h": 311.9
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#8D41B5
secondary
#A0C58C
accent
#D7517F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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