# A purple screen appears on graphs when using Opacity

**URL:** <https://community.wolfram.com/t/a-purple-screen-appears-on-graphs-when-using-opacity/18660>\
**Category:** Questions\
**Tags:** graphics-and-visualization\
**Created:** [August 10, 2021, 7:30am UTC](https://community.wolfram.com/t/a-purple-screen-appears-on-graphs-when-using-opacity/18660 "2021-08-10T07:30:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adanandrade](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@adanandrade](https://community.wolfram.com/u/adanandrade)\
**Post date:** [August 10, 2021, 7:30am UTC](https://community.wolfram.com/t/a-purple-screen-appears-on-graphs-when-using-opacity/18660/1 "2021-08-10T07:30:33Z")

</div>

When I try to make a graph with some opacity, the result is a purple screen. If I try to rotate the plot, the graph looks like it should. I stop moving it and again I see a purple screen.  
I already tried restarting the kernel but it doesn’t work.  
Any idea what could be wrong?

I leave you two screenshots using a new notebook, with the kernel just restarted and using an example that the documentation gives. The first is the output as it is, and the second is when I am rotating it.

This is the code I use, but again, is the one you can find in documentation without any modification:

```
Plot3D[x^4 + y^4 - 5 x^2*y^2, {x, -3, 3}, {y, -3, 3}, 
 PlotStyle -> Opacity[0.5]]

```

Thanks in advance.

 ![opacity1.jpg](https://global.discourse-cdn.com/wolfram/original/2X/7/7ac730dd6d6f371eac5e8abf53f20410f130453b.jpeg)

 ![opacity2.jpg](https://global.discourse-cdn.com/wolfram/original/2X/e/e123ba98aaeb8995f69bb479675fa809090cbd79.jpeg)

---

<div class="post-metadata">

**Author:** ![jacob3](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jacob3](https://community.wolfram.com/u/jacob3)\
**Post date:** [February 24, 2022, 4:31pm UTC](https://community.wolfram.com/t/a-purple-screen-appears-on-graphs-when-using-opacity/18660/2 "2022-02-24T16:31:31Z")

</div>

I’ve been having the same problem. Working on a Mac. I tried restarting my computer and nothing changed. Any tips would be nice.

---

<div class="post-metadata">

**Author:** ![dlkeith](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/dlkeith/32/31494_2.png) [@dlkeith](https://community.wolfram.com/u/dlkeith)\
**Post date:** [February 24, 2022, 5:32pm UTC](https://community.wolfram.com/t/a-purple-screen-appears-on-graphs-when-using-opacity/18660/3 "2022-02-24T17:32:26Z")

</div>

The problem does not occur with Mathematica 13.0.1 on an HP ZBook 15 G3 laptop using an NVidia M2000M GPU and running Win 10 Pro x64 .

---

<div class="post-metadata">

**Author:** ![senyasa](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@senyasa](https://community.wolfram.com/u/senyasa)\
**Post date:** [February 27, 2022, 8:06pm UTC](https://community.wolfram.com/t/a-purple-screen-appears-on-graphs-when-using-opacity/18660/4 "2022-02-27T20:06:41Z")

</div>

I had the same problem. I reduced anti-aliasing quality and it seems it solved the problem.  
Preferences-\>Appearance-\>Graphics Anti-aliasing quality-\>No anti-aliasing

EDIT: (Mathematica 12.2, MacOS)

---

<div class="post-metadata">

**Author:** ![mbrookshedstrom](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mbrookshedstrom](https://community.wolfram.com/u/mbrookshedstrom)\
**Post date:** [August 9, 2024, 6:48pm UTC](https://community.wolfram.com/t/a-purple-screen-appears-on-graphs-when-using-opacity/18660/5 "2024-08-09T18:48:24Z")

</div>

THANKS! I had the same problem and that fixed it.
