#8E66ED#8E66ED

#8E66ED is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.195 H 293.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8E66ED
RGBrgb(142, 102, 237)
HSLhsl(258, 79%, 66%)
HSVhsv(258, 57%, 93%)
CMYKcmyk(40.1%, 57%, 0%, 7.1%)
CIE-LABlab(53.35, 45.95, -62.83)
CIE-LCHlch(53.35, 77.84, 306.18°)
OKLaboklab(61.71% 0.0778 -0.1787)
OKLCHoklch(61.71% 0.195 293.5)
XYZxyz(31.1887, 21.3672, 82.5854)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E66ED #C5ED66
analogous
#6682ED #8E66ED #D266ED
triadic
#8E66ED #ED8E66 #66ED8E
tetradic
#8E66ED #ED6682 #C5ED66 #66EDD2
square
#8E66ED #ED6682 #C5ED66 #66EDD2
split-complementary
#8E66ED #EDD266 #82ED66
monochromatic
#4917C2 #662FE7 #8E66ED #B69DF3 #DFD4FA

Accessibility & contrast

On white

3.98
#8E66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8E66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E66ED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E66ED#FFFFFF#000000##000000
##8E66ED1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1581F1
Deuteranopia (green-blind)
#277DEA
Tritanopia (blue-blind)
#7583A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e66ed;
/* rgb */ color: rgb(142, 102, 237);
/* oklch */ color: oklch(61.7% 0.195 293.5);
Tailwind
colors: {
  custom: {
    50: '#b493f4',
    500: '#8e66ed',
    950: '#000000',
  },
}
SCSS
$custom: #8e66ed;
$custom-light: #b493f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e66ed",
  "rgb": {
    "r": 142,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 257.778,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.19494,
    "h": 293.5
  },
  "luminance": 0.21368
}

Semantic roles & 50–950 ramp

primary
#8E66ED
secondary
#E0EDC2
accent
#DB0A9D
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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