#8D4AB2#8D4AB2

#8D4AB2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.166 H 311.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8D4AB2
RGBrgb(141, 74, 178)
HSLhsl(279, 41%, 49%)
HSVhsv(279, 58%, 70%)
CMYKcmyk(20.8%, 58.4%, 0%, 30.2%)
CIE-LABlab(43.91, 46.27, -44.17)
CIE-LCHlch(43.91, 63.97, 316.33°)
OKLaboklab(53.61% 0.1109 -0.124)
OKLCHoklch(53.61% 0.166 311.8)
XYZxyz(21.4677, 13.7751, 43.6388)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4AB2 #6FB24A
analogous
#594AB2 #8D4AB2 #B24AA3
triadic
#8D4AB2 #B28D4A #4AB28D
tetradic
#8D4AB2 #B2594A #6FB24A #4AA3B2
square
#8D4AB2 #B2594A #6FB24A #4AA3B2
split-complementary
#8D4AB2 #A3B24A #4AB259
monochromatic
#49265C #6B3887 #8D4AB2 #A874C5 #C39FD7

Accessibility & contrast

On white

5.59
#8D4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8D4AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4AB2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4AB2#FFFFFF#000000##FFFFFF
##8D4AB21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#895D77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4ab2;
/* rgb */ color: rgb(141, 74, 178);
/* oklch */ color: oklch(53.6% 0.166 311.8);
Tailwind
colors: {
  custom: {
    50: '#b180c9',
    500: '#8d4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ab2;
$custom-light: #b180c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ab2",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 278.654,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.16634,
    "h": 311.8
  },
  "luminance": 0.13775
}

Semantic roles & 50–950 ramp

primary
#8D4AB2
secondary
#A5C494
accent
#D15782
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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