#8D4EB3#8D4EB3

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

Color values

HEX#8D4EB3
RGBrgb(141, 78, 179)
HSLhsl(277, 40%, 50%)
HSVhsv(277, 56%, 70%)
CMYKcmyk(21.2%, 56.4%, 0%, 29.8%)
CIE-LABlab(44.75, 44.40, -43.41)
CIE-LCHlch(44.75, 62.09, 315.65°)
OKLaboklab(54.25% 0.1057 -0.1218)
OKLCHoklch(54.25% 0.161 310.9)
XYZxyz(21.8441, 14.3666, 44.2614)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EB3 #74B34E
analogous
#5A4EB3 #8D4EB3 #B34EA6
triadic
#8D4EB3 #B38D4E #4EB38D
tetradic
#8D4EB3 #B35A4E #74B34E #4EA6B3
square
#8D4EB3 #B35A4E #74B34E #4EA6B3
split-complementary
#8D4EB3 #A6B34E #4EB35A
monochromatic
#4A285E #6C3B89 #8D4EB3 #A979C5 #C4A4D8

Accessibility & contrast

On white

5.42
#8D4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8D4EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EB3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EB3#FFFFFF#000000##FFFFFF
##8D4EB31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#886079
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4eb3;
/* rgb */ color: rgb(141, 78, 179);
/* oklch */ color: oklch(54.3% 0.161 310.9);
Tailwind
colors: {
  custom: {
    50: '#b182ca',
    500: '#8d4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eb3;
$custom-light: #b182ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eb3",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 277.426,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.16121,
    "h": 310.9
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#8D4EB3
secondary
#A9C598
accent
#D05885
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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