#A770CC

A color in the Purple, Crimson, Magenta family

#a770cc is a color in the Purple, Crimson, Magenta family: RGB(167, 112, 204), HSL(276°, 47%, 62%), CMYK(18%, 45%, 0%, 20%). Closest named color: mediumpurple. Contrast is 3.6:1 on white and 5.83:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a770cc
RGBrgb(167 112 204)
RGB (legacy)rgb(167, 112, 204)
RGB %rgb(65% 44% 80%)
HSLhsl(276 47% 62%)
HSV / HSBhsv(276, 45%, 80%)
HWBhwb(276 44% 20%)
CMYKcmyk(18%, 45%, 0%, 20%)
CIELAB (D50)lab(55.96 35.01 -39.61)
LCHlch(55.96 52.87 311.47)
OKLaboklab(0.6387 0.0936 -0.1097)
OKLCHoklch(0.6387 0.1442 310.45)
Decimal10973388

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 4.1
Closest web-safe color#9966cc
Hue276°
Saturation (HSL / HSV)47% / 45%
Lightness (HSL)62%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)54% / 51%
Relative luminance (WCAG)0.2416
Red / Green / Blue167 / 112 / 204

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.60:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.83: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 63.4 / -38.3 · As background with white / black text: Lc -68.9 / 40.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: #a770cc;
  --color-brand-oklch: oklch(63.87% 0.1442 310.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(167 112 204 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a770cc] text-[#a770cc] border-[#a770cc]">