#8D6CE3#8D6CE3

#8D6CE3 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.9% C 0.174 H 293.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8D6CE3
RGBrgb(141, 108, 227)
HSLhsl(257, 68%, 66%)
HSVhsv(257, 52%, 89%)
CMYKcmyk(37.9%, 52.4%, 0%, 11%)
CIE-LABlab(53.96, 39.68, -56.25)
CIE-LCHlch(53.96, 68.84, 305.20°)
OKLaboklab(61.94% 0.0692 -0.1594)
OKLCHoklch(61.94% 0.174 293.5)
XYZxyz(30.2085, 21.9332, 75.3001)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6CE3 #C2E36C
analogous
#6C86E3 #8D6CE3 #C96CE3
triadic
#8D6CE3 #E38D6C #6CE38D
tetradic
#8D6CE3 #E36C86 #C2E36C #6CE3C9
square
#8D6CE3 #E36C86 #C2E36C #6CE3C9
split-complementary
#8D6CE3 #E3C96C #86E36C
monochromatic
#4A22B3 #6539D9 #8D6CE3 #B59FED #DDD3F7

Accessibility & contrast

On white

3.90
#8D6CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8D6CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6CE3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6CE3#FFFFFF#000000##000000
##8D6CE31.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E7
Deuteranopia (green-blind)
#407FE0
Tritanopia (blue-blind)
#77849D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d6ce3;
/* rgb */ color: rgb(141, 108, 227);
/* oklch */ color: oklch(61.9% 0.174 293.5);
Tailwind
colors: {
  custom: {
    50: '#b397ec',
    500: '#8d6ce3',
    950: '#000000',
  },
}
SCSS
$custom: #8d6ce3;
$custom-light: #b397ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6ce3",
  "rgb": {
    "r": 141,
    "g": 108,
    "b": 227
  },
  "hsl": {
    "h": 256.639,
    "s": 68,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.17381,
    "h": 293.5
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#8D6CE3
secondary
#DEE9C2
accent
#D0169C
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D6CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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