#A640BB

A color in the Purple, Crimson, Magenta family

#a640bb is a color in the Purple, Crimson, Magenta family: RGB(166, 64, 187), HSL(290°, 49%, 49%), CMYK(11%, 66%, 0%, 27%). Closest named color: darkorchid. Contrast is 5.16:1 on white and 4.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a640bb
RGBrgb(166 64 187)
RGB (legacy)rgb(166, 64, 187)
RGB %rgb(65% 25% 73%)
HSLhsl(290 49% 49%)
HSV / HSBhsv(290, 66%, 73%)
HWBhwb(290 25% 27%)
CMYKcmyk(11%, 66%, 0%, 27%)
CIELAB (D50)lab(45.87 55.15 -45.74)
LCHlch(45.87 71.65 320.33)
OKLaboklab(0.5611 0.1542 -0.1277)
OKLCHoklch(0.5611 0.2002 320.37)
Decimal10895547

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 4.7
Closest web-safe color#9933cc
Hue290°
Saturation (HSL / HSV)49% / 66%
Lightness (HSL)49%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)43% / 37%
Relative luminance (WCAG)0.1536
Red / Green / Blue166 / 64 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.16:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 74.7 / -27 · As background with white / black text: Lc -80.1 / 29.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

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: #a640bb;
  --color-brand-oklch: oklch(56.11% 0.2002 320.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 64 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a640bb] text-[#a640bb] border-[#a640bb]">