#8D4EE2#8D4EE2

#8D4EE2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.214 H 299.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8D4EE2
RGBrgb(141, 78, 226)
HSLhsl(266, 72%, 60%)
HSVhsv(266, 65%, 89%)
CMYKcmyk(37.6%, 65.5%, 0%, 11.4%)
CIE-LABlab(47.75, 55.63, -65.68)
CIE-LCHlch(47.75, 86.07, 310.26°)
OKLaboklab(57.39% 0.1039 -0.1871)
OKLCHoklch(57.39% 0.214 299)
XYZxyz(27.4329, 16.6022, 73.6960)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EE2 #A3E24E
analogous
#4E59E2 #8D4EE2 #D74EE2
triadic
#8D4EE2 #E28D4E #4EE28D
tetradic
#8D4EE2 #E24E59 #A3E24E #4EE2D7
square
#8D4EE2 #E24E59 #A3E24E #4EE2D7
split-complementary
#8D4EE2 #E2D74E #59E24E
monochromatic
#511A9C #6C22D1 #8D4EE2 #AF83EB #D1B7F3

Accessibility & contrast

On white

4.86
#8D4EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8D4EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EE2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EE2#FFFFFF#000000##FFFFFF
##8D4EE21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#797091
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d4ee2;
/* rgb */ color: rgb(141, 78, 226);
/* oklch */ color: oklch(57.4% 0.214 299.0);
Tailwind
colors: {
  custom: {
    50: '#b483ec',
    500: '#8d4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ee2;
$custom-light: #b483ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ee2",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 265.541,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57388,
    "c": 0.21402,
    "h": 299
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#8D4EE2
secondary
#CAE3A9
accent
#EF39A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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