#8D4EB5#8D4EB5

#8D4EB5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.163 H 310.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8D4EB5
RGBrgb(141, 78, 181)
HSLhsl(277, 41%, 51%)
HSVhsv(277, 57%, 71%)
CMYKcmyk(22.1%, 56.9%, 0%, 29%)
CIE-LABlab(44.87, 44.85, -44.40)
CIE-LCHlch(44.87, 63.11, 315.29°)
OKLaboklab(54.37% 0.1057 -0.1247)
OKLCHoklch(54.37% 0.163 310.3)
XYZxyz(22.0478, 14.4481, 45.3344)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EB5 #76B54E
analogous
#594EB5 #8D4EB5 #B54EA9
triadic
#8D4EB5 #B58D4E #4EB58D
tetradic
#8D4EB5 #B5594E #76B54E #4EA9B5
square
#8D4EB5 #B5594E #76B54E #4EA9B5
split-complementary
#8D4EB5 #A9B54E #4EB559
monochromatic
#4B2860 #6C3A8B #8D4EB5 #A979C7 #C5A4D9

Accessibility & contrast

On white

5.40
#8D4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8D4EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EB5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EB5#FFFFFF#000000##FFFFFF
##8D4EB51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#88607A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4eb5;
/* rgb */ color: rgb(141, 78, 181);
/* oklch */ color: oklch(54.4% 0.163 310.3);
Tailwind
colors: {
  custom: {
    50: '#b182cc',
    500: '#8d4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eb5;
$custom-light: #b182cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eb5",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 276.699,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54373,
    "c": 0.16347,
    "h": 310.3
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#8D4EB5
secondary
#AAC699
accent
#D15786
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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