colors
Back to gallery

Electric Moonlight

#a68df9
Notes

Electric Moonlight (#A68DF9) is a soft indigo with a cool character. It leans cool, sitting on the blue, green, and violet side of the wheel. Quiet and dependable, a fit for product UI and data visualization. Its HSL profile (254°, 90%, 76%) places it in the highly saturated band at a light lightness. Best used in small doses, like logos, CTAs, focus rings, or highlight text, where its saturation becomes a feature rather than noise. For a confident two-color system, pair it with its complementary yellow. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#a68df9
RGB
rgb(166, 141, 249)
HSL
hsl(254, 90%, 76%)
HWB
hwb(254 55% 2%)
OKLCH
oklch(71.1% 0.155 292.7)
HSV
hsv(254, 43%, 98%)
LAB
lab(64.96% 32.92 -50.81)
LCH
lch(64.96% 60.54 302.94)
CMYK
cmyk(33%, 43%, 0%, 2%)

Etymology

Electric
adjective

From the Greek elektron, amber — the substance whose static-electric properties were observed by Thales of Miletus. Used as a color modifier since the late nineteenth century after electric light made certain saturated colors feel attention-demanding. Electric blue, electric pink: the implication is hot luminance combined with optical impact. Sits at the bright-bucket extreme.

Moonlight
noun

The spectrally cool reflected sunlight of a full moon — about 400,000 times dimmer than the sun and slightly redder than direct sunlight due to lunar regolith reflectance, but perceived by dark-adapted scotopic vision as deep blue-violet. Moonlight color refers to a clear-sky landscape under full moonlight as photographed long-exposure: a saturated, slightly cool deep blue-violet with the optical complexity of Purkinje-shifted scotopic-perception lighting.

Closest matches

The nearest named color in three reference sources, ranked by perceptual distance (ΔE76 in CIELAB). ΔE < 1 is imperceptible to most viewers; ΔE > 10 is clearly different. When two sources point to the same hex they’re merged into one tile; click any to open that color’s page.

Variations

Click any swatch to explore

Harmonies

Accessibility

Color-vision simulation

How this color appears to viewers with the four major color-vision-deficiency types. Computed via the Machado (2009) physiologically-based model. If a tile matches the original, the color reads the same to that viewer.

#a68df9
Original
#6a9ffd
Protanopia
#6d9cf6
Deuteranopia
#92a1b7
Tritanopia
#9a9a9a
Achromatopsia
WCAG contrast

The color used as foreground text against pure white and pure black, with the contrast ratio and WCAG 2.1 grade. Aim for AA (4.5:1) for body text and AA Large (3:1) for 18 pt+ headlines; AAA (7:1) is the gold standard for long-form reading surfaces.

The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
Failon White
2.69:1
The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AAAon Black
7.80:1

Related Colors

Canvas