Skip to main content

#7A5CFA Medium Slate Blue

The nearest named color to #7A5CFA is Medium Slate Blue (#7B68EE).

#7A5CFA

Medium Slate Blue

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

HEX
#7A5CFA
RGB
rgb(122, 92, 250)
HSL
hsl(251, 94%, 67%)
OKLCH
oklch(59.4% 0.224 286)
CMYK
51, 63, 0, 2

#7A5CFA has a contrast ratio of 4.43:1 against white and 4.74: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 → #7A5CFA
#7A5CFA
Same color
White
4.4AA18
Near-black
3.9AA18

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 #7A5CFA · 4.4:1

Tints and shades of #7A5CFA

Same hue and chroma in OKLCH, lighter to darker.

  1. #F4F4FF
  2. #D1D0FF
  3. #B0ABFF
  4. #9283FF
  5. #7A5CFA
  6. #5F37D5
  7. #4805B4
  8. #2F007C
  9. #170047

Colors that go with #7A5CFA

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 Slate Blue, #7A5CFA and Azure Blue, #3471F9; Heliotrope, #D684FB and Deep Sky Blue, #0DCBF8 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --medium-slate-blue-1: #7A5CFA; /* Medium Slate Blue */
}

Palettes, gradients and meshes with #7A5CFA

Items using this color or one perceptually close to it, closest first.

Palettes (4)

Gradients (4)

Mesh gradients (5)