#8D4EC0#8D4EC0

#8D4EC0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.176 H 307.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8D4EC0
RGBrgb(141, 78, 192)
HSLhsl(273, 48%, 53%)
HSVhsv(273, 59%, 75%)
CMYKcmyk(26.6%, 59.4%, 0%, 24.7%)
CIE-LABlab(45.52, 47.40, -49.77)
CIE-LCHlch(45.52, 68.73, 313.60°)
OKLaboklab(55.06% 0.1059 -0.1404)
OKLCHoklch(55.06% 0.176 307)
XYZxyz(23.2213, 14.9175, 51.5150)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EC0 #81C04E
analogous
#544EC0 #8D4EC0 #C04EBA
triadic
#8D4EC0 #C08D4E #4EC08D
tetradic
#8D4EC0 #C0544E #81C04E #4EBAC0
square
#8D4EC0 #C0544E #81C04E #4EBAC0
split-complementary
#8D4EC0 #BAC04E #4EC054
monochromatic
#4D276D #6E379A #8D4EC0 #AA7BD0 #C7A8E0

Accessibility & contrast

On white

5.27
#8D4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D4EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EC0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EC0#FFFFFF#000000##FFFFFF
##8D4EC01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#856480
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4ec0;
/* rgb */ color: rgb(141, 78, 192);
/* oklch */ color: oklch(55.1% 0.176 307.0);
Tailwind
colors: {
  custom: {
    50: '#b282d4',
    500: '#8d4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ec0;
$custom-light: #b282d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ec0",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 273.158,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.17587,
    "h": 307
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#8D4EC0
secondary
#B2CE9C
accent
#D7518D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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