#A67BB2

A color in the Purple, Crimson, Magenta family

#a67bb2 is a color in the Purple, Crimson, Magenta family: RGB(166, 123, 178), HSL(287°, 26%, 59%), CMYK(7%, 31%, 0%, 30%). Closest named color: mediumpurple. Contrast is 3.44:1 on white and 6.1:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a67bb2
RGBrgb(166 123 178)
RGB (legacy)rgb(166, 123, 178)
RGB %rgb(65% 48% 70%)
HSLhsl(287 26% 59%)
HSV / HSBhsv(287, 31%, 70%)
HWBhwb(287 48% 30%)
CMYKcmyk(7%, 31%, 0%, 30%)
CIELAB (D50)lab(57.45 24.56 -22.56)
LCHlch(57.45 33.35 317.44)
OKLaboklab(0.6445 0.0703 -0.0616)
OKLCHoklch(0.6445 0.0935 318.76)
Decimal10910642

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 8.1
Closest web-safe color#996699
Hue287°
Saturation (HSL / HSV)26% / 31%
Lightness (HSL)59%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)56% / 53%
Relative luminance (WCAG)0.2549
Red / Green / Blue166 / 123 / 178

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.10: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 61.9 / -39.8 · As background with white / black text: Lc -67.4 / 42.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: #a67bb2;
  --color-brand-oklch: oklch(64.45% 0.0935 318.76);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 123 178 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67bb2] text-[#a67bb2] border-[#a67bb2]">