#A02CA2

A color in the Purple, Crimson, Magenta family

#a02ca2 is a color in the Purple, Crimson, Magenta family: RGB(160, 44, 162), HSL(299°, 57%, 40%), CMYK(1%, 73%, 0%, 36%). Closest named color: darkorchid. Contrast is 6.22:1 on white and 3.38:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a02ca2
RGBrgb(160 44 162)
RGB (legacy)rgb(160, 44, 162)
RGB %rgb(63% 17% 64%)
HSLhsl(299 57% 40%)
HSV / HSBhsv(299, 73%, 64%)
HWBhwb(299 17% 36%)
CMYKcmyk(1%, 73%, 0%, 36%)
CIELAB (D50)lab(40.92 57.68 -38.88)
LCHlch(40.92 69.56 326.02)
OKLaboklab(0.518 0.1686 -0.1084)
OKLCHoklch(0.518 0.2005 327.27)
Decimal10497186

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 6.8
Closest web-safe color#993399
Hue299°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)40%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)36% / 30%
Relative luminance (WCAG)0.1188
Red / Green / Blue160 / 44 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.38: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 79.9 / -22 · As background with white / black text: Lc -85.1 / 24.2

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: #a02ca2;
  --color-brand-oklch: oklch(51.8% 0.2005 327.27);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(160 44 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a02ca2] text-[#a02ca2] border-[#a02ca2]">