#A052D4

A color in the Purple, Crimson, Magenta family

#a052d4 is a color in the Purple, Crimson, Magenta family: RGB(160, 82, 212), HSL(276°, 60%, 58%), CMYK(25%, 61%, 0%, 17%). Closest named color: mediumorchid. Contrast is 4.51:1 on white and 4.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a052d4
RGBrgb(160 82 212)
RGB (legacy)rgb(160, 82, 212)
RGB %rgb(63% 32% 83%)
HSLhsl(276 60% 58%)
HSV / HSBhsv(276, 61%, 83%)
HWBhwb(276 32% 17%)
CMYKcmyk(25%, 61%, 0%, 17%)
CIELAB (D50)lab(49.33 49.51 -54.7)
LCHlch(49.33 73.78 312.15)
OKLaboklab(0.5908 0.1251 -0.1531)
OKLCHoklch(0.5908 0.1977 309.26)
Decimal10506964

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.9
Closest web-safe color#9966cc
Hue276°
Saturation (HSL / HSV)60% / 61%
Lightness (HSL)58%
Brightness or Value (HSV)83%
Luminance (Rec.601 / Rec.709)47% / 42%
Relative luminance (WCAG)0.1826
Red / Green / Blue160 / 82 / 212

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.51:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.65: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 70.8 / -30.9 · As background with white / black text: Lc -76.3 / 33.3

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: #a052d4;
  --color-brand-oklch: oklch(59.08% 0.1977 309.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(160 82 212 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a052d4] text-[#a052d4] border-[#a052d4]">