#8A67A9
A color in the Purple, Crimson, Magenta family
#8a67a9 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 169), HSL(272°, 28%, 53%), CMYK(18%, 39%, 0%, 34%). Closest named color: mediumpurple. Contrast is 4.57:1 on white and 4.59:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #8a67a9 |
|---|---|
| RGB | rgb(138 103 169) |
| RGB (legacy) | rgb(138, 103, 169) |
| RGB % | rgb(54% 40% 66%) |
| HSL | hsl(272 28% 53%) |
| HSV / HSB | hsv(272, 39%, 66%) |
| HWB | hwb(272 40% 34%) |
| CMYK | cmyk(18%, 39%, 0%, 34%) |
| CIELAB (D50) | lab(49.23 24.27 -30.28) |
| LCH | lch(49.23 38.81 308.71) |
| OKLab | oklab(0.5752 0.0647 -0.0835) |
| OKLCH | oklch(0.5752 0.1056 307.75) |
| Decimal | 9070505 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | mediumpurple ΔE 7.8 |
| Closest web-safe color | #996699 |
| Hue | 272° |
| Saturation (HSL / HSV) | 28% / 39% |
| Lightness (HSL) | 53% |
| Brightness or Value (HSV) | 66% |
| Luminance (Rec.601 / Rec.709) | 47% / 45% |
| Relative luminance (WCAG) | 0.1797 |
| Red / Green / Blue | 138 / 103 / 169 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
4.57:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.59:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 71.6 / -30 · As background with white / black text: Lc -77.1 / 32.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
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: #8a67a9;
--color-brand-oklch: oklch(57.52% 0.1056 307.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 169 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67a9] text-[#8a67a9] border-[#8a67a9]">