#8D4EE9#8D4EE9

#8D4EE9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.222 H 297.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D4EE9
RGBrgb(141, 78, 233)
HSLhsl(264, 78%, 61%)
HSVhsv(264, 67%, 91%)
CMYKcmyk(39.5%, 66.5%, 0%, 8.6%)
CIE-LABlab(48.25, 57.37, -68.83)
CIE-LCHlch(48.25, 89.60, 309.81°)
OKLaboklab(57.9% 0.103 -0.1964)
OKLCHoklch(57.9% 0.222 297.7)
XYZxyz(28.4131, 16.9942, 78.8582)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EE9 #AAE94E
analogous
#4E5CE9 #8D4EE9 #DA4EE9
triadic
#8D4EE9 #E98D4E #4EE98D
tetradic
#8D4EE9 #E94E5C #AAE94E #4EE9DA
square
#8D4EE9 #E94E5C #AAE94E #4EE9DA
split-complementary
#8D4EE9 #E9DA4E #5CE94E
monochromatic
#5115A8 #6B1CDE #8D4EE9 #B084F0 #D3BBF7

Accessibility & contrast

On white

4.77
#8D4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8D4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EE9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EE9#FFFFFF#000000##FFFFFF
##8D4EE91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#777395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d4ee9;
/* rgb */ color: rgb(141, 78, 233);
/* oklch */ color: oklch(57.9% 0.222 297.7);
Tailwind
colors: {
  custom: {
    50: '#b584f1',
    500: '#8d4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ee9;
$custom-light: #b584f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ee9",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 264.387,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.22176,
    "h": 297.7
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#8D4EE9
secondary
#CFE7AC
accent
#DA0B86
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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