#8D41B7#8D41B7

#8D41B7 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.185 H 311.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8D41B7
RGBrgb(141, 65, 183)
HSLhsl(279, 48%, 49%)
HSVhsv(279, 64%, 72%)
CMYKcmyk(23%, 64.5%, 0%, 28.2%)
CIE-LABlab(42.56, 51.88, -49.27)
CIE-LCHlch(42.56, 71.55, 316.48°)
OKLaboklab(52.73% 0.1221 -0.1389)
OKLCHoklch(52.73% 0.185 311.3)
XYZxyz(21.4205, 12.8627, 46.1449)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41B7 #6BB741
analogous
#5241B7 #8D41B7 #B741A6
triadic
#8D41B7 #B78D41 #41B78D
tetradic
#8D41B7 #B75241 #6BB741 #41A6B7
square
#8D41B7 #B75241 #6BB741 #41A6B7
split-complementary
#8D41B7 #A6B741 #41B752
monochromatic
#47215D #6A318A #8D41B7 #A86BCA #C398DA

Accessibility & contrast

On white

5.88
#8D41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8D41B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41B7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41B7#FFFFFF#000000##FFFFFF
##8D41B71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#3566B4
Tritanopia (blue-blind)
#885876
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d41b7;
/* rgb */ color: rgb(141, 65, 183);
/* oklch */ color: oklch(52.7% 0.185 311.3);
Tailwind
colors: {
  custom: {
    50: '#b27acd',
    500: '#8d41b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d41b7;
$custom-light: #b27acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41b7",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 278.644,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.18489,
    "h": 311.3
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#8D41B7
secondary
#A2C68E
accent
#D75181
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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