Skip to main content

#5A4FCF Iris

#5A4FCF is Iris.

#5A4FCF

Iris

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

HEX
#5A4FCF
RGB
rgb(90, 79, 207)
HSL
hsl(245, 57%, 56%)
OKLCH
oklch(51.4% 0.190 281)
CMYK
57, 62, 0, 19

#5A4FCF has a contrast ratio of 6.08:1 against white and 3.45: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 → #5A4FCF
#5A4FCF
Same color
White
6.1AA
Near-black
2.9Fail

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 #5A4FCF · 6.1:1

Tints and shades of #5A4FCF

Same hue and chroma in OKLCH, lighter to darker.

  1. #F3F4FF
  2. #CED1FF
  3. #AAAEFF
  4. #8988FF
  5. #6D66E8
  6. #5A4FCF
  7. #3D26A6
  8. #290081
  9. #13004A

Colors that go with #5A4FCF

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. Iris, #5A4FCF and Denim, #356FC1; Medium Purple, #AC6FD8 and Cadet Blue, #2C97A1 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --iris-1: #5A4FCF; /* Iris */
}

Palettes, gradients and meshes with #5A4FCF

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

Palettes (1)

Gradients (4)

Mesh gradients (5)