#8E6DEC#8E6DEC

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

Color values

HEX#8E6DEC
RGBrgb(142, 109, 236)
HSLhsl(256, 77%, 68%)
HSVhsv(256, 54%, 93%)
CMYKcmyk(39.8%, 53.8%, 0%, 7.5%)
CIE-LABlab(54.81, 41.76, -59.92)
CIE-LCHlch(54.81, 73.04, 304.87°)
OKLaboklab(62.77% 0.0696 -0.1702)
OKLCHoklch(62.77% 0.184 292.2)
XYZxyz(31.7602, 22.7433, 82.0571)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6DEC #CBEC6D
analogous
#6D8BEC #8E6DEC #CE6DEC
triadic
#8E6DEC #EC8E6D #6DEC8E
tetradic
#8E6DEC #EC6D8B #CBEC6D #6DECCE
square
#8E6DEC #EC6D8B #CBEC6D #6DECCE
split-complementary
#8E6DEC #ECCE6D #8BEC6D
monochromatic
#461AC5 #6437E5 #8E6DEC #B8A3F3 #E2D9FA

Accessibility & contrast

On white

3.78
#8E6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8E6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6DEC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6DEC#FFFFFF#000000##000000
##8E6DEC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#3881E9
Tritanopia (blue-blind)
#7588A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e6dec;
/* rgb */ color: rgb(142, 109, 236);
/* oklch */ color: oklch(62.8% 0.184 292.2);
Tailwind
colors: {
  custom: {
    50: '#b498f3',
    500: '#8e6dec',
    950: '#000000',
  },
}
SCSS
$custom: #8e6dec;
$custom-light: #b498f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6dec",
  "rgb": {
    "r": 142,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 255.591,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.18388,
    "h": 292.2
  },
  "luminance": 0.22744
}

Semantic roles & 50–950 ramp

primary
#8E6DEC
secondary
#E4EEC7
accent
#D90CA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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