#9238AF color
The hex color #9238AF is a moderate magenta.
In the RGB color model it is made of 57.3% red, 22% green and 68.6% blue (146, 56, 175).
Its hue angle is 285°, with 52% saturation and 45% lightness. For print, the CMYK equivalent is 17% cyan, 68% magenta, 0% yellow and 31% black.
The closest named color is Pleasant Purple (#8833AA), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.16:1).
#9238AF color codes
| HEX | #9238AF | |
|---|---|---|
| RGB | rgb(146, 56, 175) | |
| RGB percent | rgb(57.3%, 22%, 68.6%) | |
| HSL | hsl(285, 52%, 45%) | |
| HSV / HSB | hsv(285, 68%, 69%) | |
| CMYK | cmyk(17%, 68%, 0%, 31%) | |
| CIE LAB | lab(41.27, 55.43, -46.57) | |
| CIE LCH | lch(41.27, 72.4, 319.96) | |
| CIE XYZ | xyz(21.005, 12.035, 41.766) | |
| Decimal | 9582767 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9238AF, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #9238AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.41:1 | Fail | Fail | Pass |
| Sample text | 6.16:1 | Pass | Fail | Pass |
| #9238AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.16:1 | Pass | Fail | Pass |
| Sample text | 3.41:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #9238AF looks to people with the most common types of color vision deficiency.
#005cb2Protanopia
no red cones#3a64acDeuteranopia
no green cones#914f6fTritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #9238af; }
.text { color: #9238af; }
.border { border: 2px solid #9238af; }
.transparent { background-color: rgb(146 56 175 / 50%); }
.gradient { background: linear-gradient(to right, #9238af, #af3891); }
Similar colors
#8833aaPleasant Purple#9a2ca0Purple Ink#aa22bbMagentleman#9932ccDark Orchid#81459ePurple Pleasures#9632ceDreamscape Purple#aa22ccTelemagenta#7737aaShredder Lavender
Questions
- What color is #9238AF?
- #9238AF is a moderate magenta, closest to the named color Pleasant Purple. It belongs to the purple family of colors.
- What is the RGB value of #9238AF?
- The RGB value is 146, 56, 175: 146 red, 56 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #9238AF?
- The complementary color is #55AF38, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9238AF?
- White text. Black text has a contrast ratio of 3.41:1 and white text 6.16:1. WCAG asks for at least 4.5:1 for normal text.