#8A507A

A color in the Purple, Crimson, Magenta family

#8a507a is a color in the Purple, Crimson, Magenta family: RGB(138, 80, 122), HSL(317°, 27%, 43%), CMYK(0%, 42%, 12%, 46%). Closest named color: dimgray. Contrast is 5.98:1 on white and 3.51:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a507a
RGBrgb(138 80 122)
RGB (legacy)rgb(138, 80, 122)
RGB %rgb(54% 31% 48%)
HSLhsl(317 27% 43%)
HSV / HSBhsv(317, 42%, 54%)
HWBhwb(317 31% 46%)
CMYKcmyk(0%, 42%, 12%, 46%)
CIELAB (D50)lab(42.13 29.56 -13.15)
LCHlch(42.13 32.35 336.02)
OKLaboklab(0.5129 0.0891 -0.036)
OKLCHoklch(0.5129 0.0961 337.99)
Decimal9064570

Properties

Color TonePurple, Crimson, Magenta
Closest named colordimgray ΔE 9.6
Closest web-safe color#996666
Hue317°
Saturation (HSL / HSV)27% / 42%
Lightness (HSL)43%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)40% / 37%
Relative luminance (WCAG)0.1255
Red / Green / Blue138 / 80 / 122

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.98:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.51: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 79.7 / -22.1 · As background with white / black text: Lc -84.9 / 24.4

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

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: #8a507a;
  --color-brand-oklch: oklch(51.29% 0.0961 337.99);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 80 122 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a507a] text-[#8a507a] border-[#8a507a]">