Skip to main content

#8F00FF Electric Violet

#8F00FF is Electric Violet.

#8F00FF

Electric Violet

What are the RGB, HSL, OKLCH and CMYK values of #8F00FF?

HEX
#8F00FF
RGB
rgb(143, 0, 255)
HSL
hsl(274, 100%, 50%)
OKLCH
oklch(54.8% 0.294 299)
CMYK
44, 100, 0, 0

#8F00FF has a contrast ratio of 5.81:1 against white and 3.61:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #8F00FF
#8F00FF
Same color
White
5.8AA
Near-black
3.0AA18

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #8F00FF · 5.8:1

Tints and shades of #8F00FF

Same hue and chroma in OKLCH, lighter to darker.

  1. #F6F3FF
  2. #DBCCFF
  3. #C2A3FF
  4. #AB76FF
  5. #8F00FF
  6. #7A00DB
  7. #5A00A3
  8. #3B006F
  9. #1F003F

Colors that go with #8F00FF

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Medium Blue, #0D00D6 and Cobalt, #004CAD become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --electric-violet-1: #8F00FF; /* Electric Violet */
}

Palettes, gradients and meshes with #8F00FF

Items using this color or one perceptually close to it, closest first (up to 24 palettes and 12 each of gradients and meshes).

Palettes (1)

Gradients (2)

Mesh gradients (4)