#8D4EB4#8D4EB4

#8D4EB4 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.162 H 310.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D4EB4
RGBrgb(141, 78, 180)
HSLhsl(277, 40%, 51%)
HSVhsv(277, 57%, 71%)
CMYKcmyk(21.7%, 56.7%, 0%, 29.4%)
CIE-LABlab(44.81, 44.62, -43.90)
CIE-LCHlch(44.81, 62.60, 315.47°)
OKLaboklab(54.31% 0.1057 -0.1232)
OKLCHoklch(54.31% 0.162 310.6)
XYZxyz(21.9456, 14.4072, 44.7960)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EB4 #75B44E
analogous
#5A4EB4 #8D4EB4 #B44EA8
triadic
#8D4EB4 #B48D4E #4EB48D
tetradic
#8D4EB4 #B45A4E #75B44E #4EA8B4
square
#8D4EB4 #B45A4E #75B44E #4EA8B4
split-complementary
#8D4EB4 #A8B44E #4EB45A
monochromatic
#4A285F #6C3B8A #8D4EB4 #A979C6 #C4A4D8

Accessibility & contrast

On white

5.41
#8D4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8D4EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EB4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EB4#FFFFFF#000000##FFFFFF
##8D4EB41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#886079
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4eb4;
/* rgb */ color: rgb(141, 78, 180);
/* oklch */ color: oklch(54.3% 0.162 310.6);
Tailwind
colors: {
  custom: {
    50: '#b182cb',
    500: '#8d4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eb4;
$custom-light: #b182cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eb4",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 277.059,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.16234,
    "h": 310.6
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#8D4EB4
secondary
#AAC698
accent
#D05786
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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