#8D4EAF#8D4EAF

#8D4EAF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.157 H 312.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8D4EAF
RGBrgb(141, 78, 175)
HSLhsl(279, 38%, 50%)
HSVhsv(279, 55%, 69%)
CMYKcmyk(19.4%, 55.4%, 0%, 31.4%)
CIE-LABlab(44.53, 43.49, -41.42)
CIE-LCHlch(44.53, 60.06, 316.40°)
OKLaboklab(54.01% 0.1054 -0.1159)
OKLCHoklch(54.01% 0.157 312.3)
XYZxyz(21.4454, 14.2071, 42.1617)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EAF #70AF4E
analogous
#5D4EAF #8D4EAF #AF4EA1
triadic
#8D4EAF #AF8D4E #4EAF8D
tetradic
#8D4EAF #AF5D4E #70AF4E #4EA1AF
square
#8D4EAF #AF5D4E #70AF4E #4EA1AF
split-complementary
#8D4EAF #A1AF4E #4EAF5D
monochromatic
#49285A #6B3B85 #8D4EAF #A878C3 #C3A2D6

Accessibility & contrast

On white

5.47
#8D4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8D4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EAF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EAF#FFFFFF#000000##FFFFFF
##8D4EAF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#895F77
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4eaf;
/* rgb */ color: rgb(141, 78, 175);
/* oklch */ color: oklch(54.0% 0.157 312.3);
Tailwind
colors: {
  custom: {
    50: '#b182c7',
    500: '#8d4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eaf;
$custom-light: #b182c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eaf",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 278.969,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54013,
    "c": 0.15672,
    "h": 312.3
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#8D4EAF
secondary
#A6C396
accent
#CE5A82
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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