#8D6AE9#8D6AE9

#8D6AE9 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 62.0% C 0.184 H 292.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D6AE9
RGBrgb(141, 106, 233)
HSLhsl(257, 74%, 66%)
HSVhsv(257, 55%, 91%)
CMYKcmyk(39.5%, 54.5%, 0%, 8.6%)
CIE-LABlab(53.87, 42.42, -59.75)
CIE-LCHlch(53.87, 73.28, 305.37°)
OKLaboklab(62% 0.0719 -0.1697)
OKLCHoklch(62% 0.184 292.9)
XYZxyz(30.8426, 21.8532, 79.6681)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6AE9 #C6E96A
analogous
#6A87E9 #8D6AE9 #CC6AE9
triadic
#8D6AE9 #E98D6A #6AE98D
tetradic
#8D6AE9 #E96A87 #C6E96A #6AE9CC
square
#8D6AE9 #E96A87 #C6E96A #6AE9CC
split-complementary
#8D6AE9 #E9CC6A #87E96A
monochromatic
#481CBD #6435E1 #8D6AE9 #B69FF1 #DFD5F9

Accessibility & contrast

On white

3.91
#8D6AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8D6AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6AE9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6AE9#FFFFFF#000000##000000
##8D6AE91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C82ED
Deuteranopia (green-blind)
#357EE6
Tritanopia (blue-blind)
#75859F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d6ae9;
/* rgb */ color: rgb(141, 106, 233);
/* oklch */ color: oklch(62.0% 0.184 292.9);
Tailwind
colors: {
  custom: {
    50: '#b395f1',
    500: '#8d6ae9',
    950: '#000000',
  },
}
SCSS
$custom: #8d6ae9;
$custom-light: #b395f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6ae9",
  "rgb": {
    "r": 141,
    "g": 106,
    "b": 233
  },
  "hsl": {
    "h": 256.535,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61997,
    "c": 0.1843,
    "h": 292.9
  },
  "luminance": 0.21854
}

Semantic roles & 50–950 ramp

primary
#8D6AE9
secondary
#E1ECC3
accent
#D60F9F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8D6AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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