#8D6DEC#8D6DEC

#8D6DEC is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.7% C 0.184 H 291.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8D6DEC
RGBrgb(141, 109, 236)
HSLhsl(255, 77%, 68%)
HSVhsv(255, 54%, 93%)
CMYKcmyk(40.3%, 53.8%, 0%, 7.5%)
CIE-LABlab(54.72, 41.53, -60.08)
CIE-LCHlch(54.72, 73.03, 304.66°)
OKLaboklab(62.68% 0.0684 -0.1707)
OKLCHoklch(62.68% 0.184 291.8)
XYZxyz(31.5894, 22.6552, 82.0491)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6DEC #CCEC6D
analogous
#6D8CEC #8D6DEC #CC6DEC
triadic
#8D6DEC #EC8D6D #6DEC8D
tetradic
#8D6DEC #EC6D8C #CCEC6D #6DECCC
square
#8D6DEC #EC6D8C #CCEC6D #6DECCC
split-complementary
#8D6DEC #ECCC6D #8CEC6D
monochromatic
#451AC5 #6337E5 #8D6DEC #B7A3F3 #E2D9FA

Accessibility & contrast

On white

3.80
#8D6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8D6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6DEC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6DEC#FFFFFF#000000##000000
##8D6DEC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F0
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#7388A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d6dec;
/* rgb */ color: rgb(141, 109, 236);
/* oklch */ color: oklch(62.7% 0.184 291.8);
Tailwind
colors: {
  custom: {
    50: '#b398f3',
    500: '#8d6dec',
    950: '#000000',
  },
}
SCSS
$custom: #8d6dec;
$custom-light: #b398f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6dec",
  "rgb": {
    "r": 141,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 255.118,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6268,
    "c": 0.18385,
    "h": 291.8
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

primary
#8D6DEC
secondary
#E4EEC7
accent
#D90CA6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8D6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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