#A8317C

A color in the Purple, Crimson, Magenta family

#a8317c is a color in the Purple, Crimson, Magenta family: RGB(168, 49, 124), HSL(322°, 55%, 43%), CMYK(0%, 71%, 26%, 34%). Closest named color: mediumvioletred. Contrast is 6.18:1 on white and 3.4:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a8317c
RGBrgb(168 49 124)
RGB (legacy)rgb(168, 49, 124)
RGB %rgb(66% 19% 49%)
HSLhsl(322 55% 43%)
HSV / HSBhsv(322, 71%, 66%)
HWBhwb(322 19% 34%)
CMYKcmyk(0%, 71%, 26%, 34%)
CIELAB (D50)lab(41.43 53.95 -14.87)
LCHlch(41.43 55.96 344.59)
OKLaboklab(0.5157 0.1674 -0.0414)
OKLCHoklch(0.5157 0.1724 346.11)
Decimal11022716

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.3
Closest web-safe color#993366
Hue322°
Saturation (HSL / HSV)55% / 71%
Lightness (HSL)43%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)37% / 31%
Relative luminance (WCAG)0.1198
Red / Green / Blue168 / 49 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.40: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.8 / -22 · As background with white / black text: Lc -85 / 24.2

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: #a8317c;
  --color-brand-oklch: oklch(51.57% 0.1724 346.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(168 49 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a8317c] text-[#a8317c] border-[#a8317c]">