#A331CD

A color in the Purple, Crimson, Magenta family

#a331cd is a color in the Purple, Crimson, Magenta family: RGB(163, 49, 205), HSL(284°, 61%, 50%), CMYK(20%, 76%, 0%, 20%). Closest named color: darkorchid. Contrast is 5.41:1 on white and 3.88:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a331cd
RGBrgb(163 49 205)
RGB (legacy)rgb(163, 49, 205)
RGB %rgb(64% 19% 80%)
HSLhsl(284 61% 50%)
HSV / HSBhsv(284, 76%, 80%)
HWBhwb(284 19% 20%)
CMYKcmyk(20%, 76%, 0%, 20%)
CIELAB (D50)lab(44.31 62.61 -58.7)
LCHlch(44.31 85.83 316.85)
OKLaboklab(0.5543 0.1639 -0.1646)
OKLCHoklch(0.5543 0.2323 314.87)
Decimal10695117

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 2
Closest web-safe color#9933cc
Hue284°
Saturation (HSL / HSV)61% / 76%
Lightness (HSL)50%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)40% / 33%
Relative luminance (WCAG)0.1439
Red / Green / Blue163 / 49 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.41:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.88: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 75.8 / -25.9 · As background with white / black text: Lc -81.2 / 28.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: #a331cd;
  --color-brand-oklch: oklch(55.43% 0.2323 314.87);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(163 49 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a331cd] text-[#a331cd] border-[#a331cd]">