#8D41B4#8D41B4

#8D41B4 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.182 H 312.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8D41B4
RGBrgb(141, 65, 180)
HSLhsl(280, 47%, 48%)
HSVhsv(280, 64%, 71%)
CMYKcmyk(21.7%, 63.9%, 0%, 29.4%)
CIE-LABlab(42.37, 51.22, -47.81)
CIE-LCHlch(42.37, 70.07, 316.97°)
OKLaboklab(52.53% 0.1222 -0.1346)
OKLCHoklch(52.53% 0.182 312.2)
XYZxyz(21.1115, 12.7391, 44.5180)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41B4 #68B441
analogous
#5341B4 #8D41B4 #B441A1
triadic
#8D41B4 #B48D41 #41B48D
tetradic
#8D41B4 #B45341 #68B441 #41A1B4
square
#8D41B4 #B45341 #68B441 #41A1B4
split-complementary
#8D41B4 #A1B441 #41B453
monochromatic
#47215A #6A3187 #8D41B4 #A869C9 #C296D9

Accessibility & contrast

On white

5.92
#8D41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8D41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41B4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41B4#FFFFFF#000000##FFFFFF
##8D41B41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0960B8
Deuteranopia (green-blind)
#3866B1
Tritanopia (blue-blind)
#895775
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d41b4;
/* rgb */ color: rgb(141, 65, 180);
/* oklch */ color: oklch(52.5% 0.182 312.2);
Tailwind
colors: {
  custom: {
    50: '#b27acb',
    500: '#8d41b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d41b4;
$custom-light: #b27acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41b4",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 279.652,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52533,
    "c": 0.18177,
    "h": 312.2
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#8D41B4
secondary
#9FC58C
accent
#D7517E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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