#A67BCD

A color in the Purple, Crimson, Magenta family

#a67bcd is a color in the Purple, Crimson, Magenta family: RGB(166, 123, 205), HSL(271°, 45%, 64%), CMYK(19%, 40%, 0%, 20%). Closest named color: mediumpurple. Contrast is 3.31:1 on white and 6.34:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67bcd
RGBrgb(166 123 205)
RGB (legacy)rgb(166, 123, 205)
RGB %rgb(65% 48% 80%)
HSLhsl(271 45% 64%)
HSV / HSBhsv(271, 40%, 80%)
HWBhwb(271 48% 20%)
CMYKcmyk(19%, 40%, 0%, 20%)
CIELAB (D50)lab(58.4 29.02 -36.39)
LCHlch(58.4 46.54 308.57)
OKLaboklab(0.6568 0.0768 -0.1005)
OKLCHoklch(0.6568 0.1264 307.37)
Decimal10910669

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 5.1
Closest web-safe color#9966cc
Hue271°
Saturation (HSL / HSV)45% / 40%
Lightness (HSL)64%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)57% / 54%
Relative luminance (WCAG)0.2668
Red / Green / Blue166 / 123 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.31:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.34: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.4 / -41.3 · As background with white / black text: Lc -65.9 / 43.7

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: #a67bcd;
  --color-brand-oklch: oklch(65.68% 0.1264 307.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 123 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67bcd] text-[#a67bcd] border-[#a67bcd]">