#8D6EC5#8D6EC5

#8D6EC5 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.5% C 0.132 H 298.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8D6EC5
RGBrgb(141, 110, 197)
HSLhsl(261, 43%, 60%)
HSVhsv(261, 44%, 77%)
CMYKcmyk(28.4%, 44.2%, 0%, 22.7%)
CIE-LABlab(52.78, 30.73, -41.11)
CIE-LCHlch(52.78, 51.33, 306.78°)
OKLaboklab(60.53% 0.0635 -0.1152)
OKLCHoklch(60.53% 0.132 298.9)
XYZxyz(26.6361, 20.8456, 55.4328)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6EC5 #A6C56E
analogous
#6E7BC5 #8D6EC5 #B86EC5
triadic
#8D6EC5 #C58D6E #6EC58D
tetradic
#8D6EC5 #C56E7B #A6C56E #6EC5B8
square
#8D6EC5 #C56E7B #A6C56E #6EC5B8
split-complementary
#8D6EC5 #C5B86E #7BC56E
monochromatic
#513584 #6C46B0 #8D6EC5 #AF9AD6 #D2C5E8

Accessibility & contrast

On white

4.06
#8D6EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8D6EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6EC5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6EC5#FFFFFF#000000##000000
##8D6EC51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC8
Deuteranopia (green-blind)
#5B7DC3
Tritanopia (blue-blind)
#827D90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d6ec5;
/* rgb */ color: rgb(141, 110, 197);
/* oklch */ color: oklch(60.5% 0.132 298.9);
Tailwind
colors: {
  custom: {
    50: '#b098d7',
    500: '#8d6ec5',
    950: '#000000',
  },
}
SCSS
$custom: #8d6ec5;
$custom-light: #b098d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6ec5",
  "rgb": {
    "r": 141,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 261.379,
    "s": 42.857,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.1315,
    "h": 298.9
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#8D6EC5
secondary
#CCD8B7
accent
#B63086
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8D6EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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