#A87FCD

A color in the Purple, Crimson, Magenta family

#a87fcd is a color in the Purple, Crimson, Magenta family: RGB(168, 127, 205), HSL(272°, 44%, 65%), CMYK(18%, 38%, 0%, 20%). Closest named color: mediumpurple. Contrast is 3.19:1 on white and 6.58:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a87fcd
RGBrgb(168 127 205)
RGB (legacy)rgb(168, 127, 205)
RGB %rgb(66% 50% 80%)
HSLhsl(272 44% 65%)
HSV / HSBhsv(272, 38%, 80%)
HWBhwb(272 50% 20%)
CMYKcmyk(18%, 38%, 0%, 20%)
CIELAB (D50)lab(59.55 27.53 -34.59)
LCHlch(59.55 44.2 308.52)
OKLaboklab(0.6658 0.0734 -0.0953)
OKLCHoklch(0.6658 0.1203 307.57)
Decimal11042765

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 6
Closest web-safe color#9966cc
Hue272°
Saturation (HSL / HSV)44% / 38%
Lightness (HSL)65%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)58% / 55%
Relative luminance (WCAG)0.2791
Red / Green / Blue168 / 127 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.58: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 59 / -42.8 · As background with white / black text: Lc -64.4 / 45.1

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: #a87fcd;
  --color-brand-oklch: oklch(66.58% 0.1203 307.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(168 127 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a87fcd] text-[#a87fcd] border-[#a87fcd]">