#8D6EC0#8D6EC0

#8D6EC0 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.3% C 0.125 H 300.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8D6EC0
RGBrgb(141, 110, 192)
HSLhsl(263, 39%, 59%)
HSVhsv(263, 43%, 75%)
CMYKcmyk(26.6%, 42.7%, 0%, 24.7%)
CIE-LABlab(52.53, 29.48, -38.64)
CIE-LCHlch(52.53, 48.60, 307.35°)
OKLaboklab(60.27% 0.0626 -0.108)
OKLCHoklch(60.27% 0.125 300.1)
XYZxyz(26.0727, 20.6202, 52.4655)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6EC0 #A1C06E
analogous
#6E78C0 #8D6EC0 #B66EC0
triadic
#8D6EC0 #C08D6E #6EC08D
tetradic
#8D6EC0 #C06E78 #A1C06E #6EC0B6
square
#8D6EC0 #C06E78 #A1C06E #6EC0B6
split-complementary
#8D6EC0 #C0B66E #78C06E
monochromatic
#51367D #6D49A8 #8D6EC0 #AF99D3 #D0C3E5

Accessibility & contrast

On white

4.10
#8D6EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8D6EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6EC0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6EC0#FFFFFF#000000##000000
##8D6EC01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC3
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#837C8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d6ec0;
/* rgb */ color: rgb(141, 110, 192);
/* oklch */ color: oklch(60.3% 0.125 300.1);
Tailwind
colors: {
  custom: {
    50: '#b098d3',
    500: '#8d6ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8d6ec0;
$custom-light: #b098d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6ec0",
  "rgb": {
    "r": 141,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 262.683,
    "s": 39.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.12483,
    "h": 300.1
  },
  "luminance": 0.2062
}

Semantic roles & 50–950 ramp

primary
#8D6EC0
secondary
#C9D5B5
accent
#CF58A2
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8D6EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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