#A67FBC

A color in the Purple, Crimson, Magenta family

#a67fbc is a color in the Purple, Crimson, Magenta family: RGB(166, 127, 188), HSL(278°, 31%, 62%), CMYK(12%, 32%, 0%, 26%). Closest named color: mediumpurple. Contrast is 3.29:1 on white and 6.38:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a67fbc
RGBrgb(166 127 188)
RGB (legacy)rgb(166, 127, 188)
RGB %rgb(65% 50% 74%)
HSLhsl(278 31% 62%)
HSV / HSBhsv(278, 32%, 74%)
HWBhwb(278 50% 26%)
CMYKcmyk(12%, 32%, 0%, 26%)
CIELAB (D50)lab(58.74 24 -26.27)
LCHlch(58.74 35.58 312.42)
OKLaboklab(0.6561 0.0669 -0.072)
OKLCHoklch(0.6561 0.0983 312.92)
Decimal10911676

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 7.5
Closest web-safe color#9966cc
Hue278°
Saturation (HSL / HSV)31% / 32%
Lightness (HSL)62%
Brightness or Value (HSV)74%
Luminance (Rec.601 / Rec.709)57% / 55%
Relative luminance (WCAG)0.2692
Red / Green / Blue166 / 127 / 188

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.29:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.38: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 60.2 / -41.5 · As background with white / black text: Lc -65.6 / 43.9

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: #a67fbc;
  --color-brand-oklch: oklch(65.61% 0.0983 312.92);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 127 188 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67fbc] text-[#a67fbc] border-[#a67fbc]">