Skip to main content

#A78BFA Medium Purple

The nearest named color to #A78BFA is Medium Purple (#9370DB).

#A78BFA

Medium Purple

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

HEX
#A78BFA
RGB
rgb(167, 139, 250)
HSL
hsl(255, 92%, 76%)
OKLCH
oklch(70.9% 0.159 294)
CMYK
33, 44, 0, 2

#A78BFA has a contrast ratio of 2.72:1 against white and 7.72:1 against black, so black is the better background for text in this color and dark 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 → #A78BFA
#A78BFA
Same color
White
2.7Fail
Near-black
6.4AA

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

  • Near-black on #A78BFA · 6.4:1

Tints and shades of #A78BFA

Same hue and chroma in OKLCH, lighter to darker.

  1. #F5F3FF
  2. #D7CEFF
  3. #BAA7FF
  4. #A78BFA
  5. #8265D0
  6. #6747B0
  7. #4D2A91
  8. #360472
  9. #1C0042

Colors that go with #A78BFA

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 Purple, #A78BFA and Cornflower Blue, #6489F8; Mauve, #E9B2FC and Deep Sky Blue, #3DC8F7 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --medium-purple-1: #A78BFA; /* Medium Purple */
}

Palettes, gradients and meshes with #A78BFA

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

Palettes (4)

Gradients (2)

Mesh gradients (4)