#8D6EC1#8D6EC1

#8D6EC1 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.3% C 0.126 H 299.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D6EC1
RGBrgb(141, 110, 193)
HSLhsl(262, 40%, 59%)
HSVhsv(262, 43%, 76%)
CMYKcmyk(26.9%, 43%, 0%, 24.3%)
CIE-LABlab(52.58, 29.73, -39.13)
CIE-LCHlch(52.58, 49.15, 307.23°)
OKLaboklab(60.32% 0.0628 -0.1094)
OKLCHoklch(60.32% 0.126 299.9)
XYZxyz(26.1839, 20.6647, 53.0510)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6EC1 #A2C16E
analogous
#6E78C1 #8D6EC1 #B76EC1
triadic
#8D6EC1 #C18D6E #6EC18D
tetradic
#8D6EC1 #C16E78 #A2C16E #6EC1B7
square
#8D6EC1 #C16E78 #A2C16E #6EC1B7
split-complementary
#8D6EC1 #C1B76E #78C16E
monochromatic
#51367F #6D48A9 #8D6EC1 #AF99D3 #D0C4E6

Accessibility & contrast

On white

4.09
#8D6EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8D6EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6EC1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6EC1#FFFFFF#000000##000000
##8D6EC11.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#577DC4
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#837C8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d6ec1;
/* rgb */ color: rgb(141, 110, 193);
/* oklch */ color: oklch(60.3% 0.126 299.9);
Tailwind
colors: {
  custom: {
    50: '#b098d4',
    500: '#8d6ec1',
    950: '#000000',
  },
}
SCSS
$custom: #8d6ec1;
$custom-light: #b098d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6ec1",
  "rgb": {
    "r": 141,
    "g": 110,
    "b": 193
  },
  "hsl": {
    "h": 262.41,
    "s": 40.097,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.12617,
    "h": 299.9
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#8D6EC1
secondary
#C9D6B5
accent
#D058A3
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8D6EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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