#8A5C8A
A color in the Purple, Crimson, Magenta family
#8a5c8a is a color in the Purple, Crimson, Magenta family: RGB(138, 92, 138), HSL(300°, 20%, 45%), CMYK(0%, 33%, 0%, 46%). Closest named color: dimgray. Contrast is 5.28:1 on white and 3.98:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #8a5c8a |
|---|---|
| RGB | rgb(138 92 138) |
| RGB (legacy) | rgb(138, 92, 138) |
| RGB % | rgb(54% 36% 54%) |
| HSL | hsl(300 20% 45%) |
| HSV / HSB | hsv(300, 33%, 54%) |
| HWB | hwb(300 36% 46%) |
| CMYK | cmyk(0%, 33%, 0%, 46%) |
| CIELAB (D50) | lab(45.45 25.25 -17.79) |
| LCH | lch(45.45 30.89 324.84) |
| OKLab | oklab(0.5407 0.0741 -0.0487) |
| OKLCH | oklch(0.5407 0.0887 326.72) |
| Decimal | 9067658 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | dimgray ΔE 9.1 |
| Closest web-safe color | #996699 |
| Hue | 300° |
| Saturation (HSL / HSV) | 20% / 33% |
| Lightness (HSL) | 45% |
| Brightness or Value (HSV) | 54% |
| Luminance (Rec.601 / Rec.709) | 44% / 41% |
| Relative luminance (WCAG) | 0.1489 |
| Red / Green / Blue | 138 / 92 / 138 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
5.28:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.98:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 76.1 / -25.6 · As background with white / black text: Lc -81.5 / 28
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #8a5c8a;
--color-brand-oklch: oklch(54.07% 0.0887 326.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 92 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a5c8a] text-[#8a5c8a] border-[#8a5c8a]">