#8E66EC#8E66EC

#8E66EC is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.194 H 293.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8E66EC
RGBrgb(142, 102, 236)
HSLhsl(258, 78%, 66%)
HSVhsv(258, 57%, 93%)
CMYKcmyk(39.8%, 56.8%, 0%, 7.5%)
CIE-LABlab(53.29, 45.69, -62.37)
CIE-LCHlch(53.29, 77.31, 306.22°)
OKLaboklab(61.65% 0.0779 -0.1774)
OKLCHoklch(61.65% 0.194 293.7)
XYZxyz(31.0430, 21.3089, 81.8181)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E66EC #C4EC66
analogous
#6681EC #8E66EC #D166EC
triadic
#8E66EC #EC8E66 #66EC8E
tetradic
#8E66EC #EC6681 #C4EC66 #66ECD1
square
#8E66EC #EC6681 #C4EC66 #66ECD1
split-complementary
#8E66EC #ECD166 #81EC66
monochromatic
#4A18C0 #6630E5 #8E66EC #B69CF3 #DED3FA

Accessibility & contrast

On white

3.99
#8E66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8E66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E66EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E66EC#FFFFFF#000000##000000
##8E66EC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1881F0
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#75839F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e66ec;
/* rgb */ color: rgb(142, 102, 236);
/* oklch */ color: oklch(61.6% 0.194 293.7);
Tailwind
colors: {
  custom: {
    50: '#b493f3',
    500: '#8e66ec',
    950: '#000000',
  },
}
SCSS
$custom: #8e66ec;
$custom-light: #b493f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e66ec",
  "rgb": {
    "r": 142,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 257.91,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61647,
    "c": 0.19372,
    "h": 293.7
  },
  "luminance": 0.2131
}

Semantic roles & 50–950 ramp

primary
#8E66EC
secondary
#E0EDC1
accent
#DA0B9C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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