Skip to the color picker

#8a5197 color: Cosmic Berry

#8a5197 is rgb(138, 81, 151) in RGB and oklch(52.796% 0.12334 319.978) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

289°
100%

52.8%
0.123
320°
  • Magenta
  • Medium
  • Soft
  • Neutral
  • ≈ Amethyst
  • mauve-500
  • Black 41%

Inside sRGB: displays the same on any screen.

White text
5.67:1Readable · AA
Lc -83
Black text
3.70:1Hard to read
Lc 26

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #8a5197

#8a5197 is a soft magenta color. In OKLCH it has 52.8% lightness, 0.123 chroma and a hue of 320°.

Inside sRGB: displays the same on any screen.

White text on it reaches 5.67:1 contrast and black text 3.7:1, so white text reads better.

The closest named color is Cosmic Berry (#8b4f90). In Tailwind CSS the closest color is mauve-500.

More medium magenta colors

Lighter: #8a5197 mixed with white

  1. 8a5197
  2. 9662a1
  3. a173ac
  4. ad84b6
  5. b995c1
  6. c4a6cb
  7. d0b8d6
  8. dcc9e0
  9. e7dbea
  10. f3edf5

Darker: #8a5197 mixed with black

  1. 8a5197
  2. 774583
  3. 653a6f
  4. 532f5c
  5. 422449
  6. 321a37
  7. 221026
  8. 140717
  9. 070208
  10. 010001

Calmer: #8a5197 with less saturation

  1. 8a5197
  2. 875493
  3. 84578f
  4. 815a8a
  5. 7e5d86
  6. 7b6082
  7. 78627d
  8. 756579
  9. 726774
  10. 6e6970

Questions about #8a5197

What color is #8a5197?

#8a5197 is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(138, 81, 151), in HSL hsl(288.86, 30.17%, 45.49%) and in OKLCH oklch(52.796% 0.12334 319.978).

What colors go well with #8a5197?

The complementary color of #8a5197 is #407c33. For a calmer combination use the analogous colors #6b5cad and #9e4a75. The triadic partners are #906100 and #007d84.

Is white or black text more readable on #8a5197?

White text reads better on #8a5197: white gives a contrast ratio of 5.67:1 and black gives 3.7:1. WCAG AA asks for at least 4.5:1 for body text.

Is #8a5197 a warm or cool color?

#8a5197 is a neutral color. In OKLCH its hue is 320 degrees, its lightness 52.8% and its chroma 0.123.