#8D41B8#8D41B8

#8D41B8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.186 H 311.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8D41B8
RGBrgb(141, 65, 184)
HSLhsl(278, 48%, 49%)
HSVhsv(278, 65%, 72%)
CMYKcmyk(23.4%, 64.7%, 0%, 27.8%)
CIE-LABlab(42.62, 52.10, -49.76)
CIE-LCHlch(42.62, 72.04, 316.32°)
OKLaboklab(52.8% 0.122 -0.1403)
OKLCHoklch(52.8% 0.186 311)
XYZxyz(21.5249, 12.9045, 46.6950)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41B8 #6CB841
analogous
#5241B8 #8D41B8 #B841A8
triadic
#8D41B8 #B88D41 #41B88D
tetradic
#8D41B8 #B85241 #6CB841 #41A8B8
square
#8D41B8 #B85241 #6CB841 #41A8B8
split-complementary
#8D41B8 #A8B841 #41B852
monochromatic
#48215E #6A318B #8D41B8 #A86BCB #C399DB

Accessibility & contrast

On white

5.86
#8D41B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8D41B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41B8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41B8#FFFFFF#000000##FFFFFF
##8D41B81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#885977
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d41b8;
/* rgb */ color: rgb(141, 65, 184);
/* oklch */ color: oklch(52.8% 0.186 311.0);
Tailwind
colors: {
  custom: {
    50: '#b27ace',
    500: '#8d41b8',
    950: '#000000',
  },
}
SCSS
$custom: #8d41b8;
$custom-light: #b27ace;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41b8",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 278.319,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52795,
    "c": 0.18592,
    "h": 311
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#8D41B8
secondary
#A3C78E
accent
#D75081
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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