#A656D2

A color in the Purple, Crimson, Magenta family

#a656d2 is a color in the Purple, Crimson, Magenta family: RGB(166, 86, 210), HSL(279°, 58%, 58%), CMYK(21%, 59%, 0%, 18%). Closest named color: mediumorchid. Contrast is 4.3:1 on white and 4.88:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a656d2
RGBrgb(166 86 210)
RGB (legacy)rgb(166, 86, 210)
RGB %rgb(65% 34% 82%)
HSLhsl(279 58% 58%)
HSV / HSBhsv(279, 59%, 82%)
HWBhwb(279 34% 18%)
CMYKcmyk(21%, 59%, 0%, 18%)
CIELAB (D50)lab(50.76 48.89 -51.22)
LCHlch(50.76 70.81 313.67)
OKLaboklab(0.6019 0.1278 -0.1431)
OKLCHoklch(0.6019 0.1918 311.77)
Decimal10901202

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 3.6
Closest web-safe color#9966cc
Hue279°
Saturation (HSL / HSV)58% / 59%
Lightness (HSL)58%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)49% / 44%
Relative luminance (WCAG)0.1942
Red / Green / Blue166 / 86 / 210

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.30:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.88: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 69.2 / -32.4 · As background with white / black text: Lc -74.7 / 34.8

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: #a656d2;
  --color-brand-oklch: oklch(60.19% 0.1918 311.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 86 210 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a656d2] text-[#a656d2] border-[#a656d2]">