#A287C1

A color in the Violet family

#a287c1 is a color in the Violet family: RGB(162, 135, 193), HSL(268°, 32%, 64%), CMYK(16%, 30%, 0%, 24%). Closest named color: mediumpurple. Contrast is 3.1:1 on white and 6.77:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a287c1
RGBrgb(162 135 193)
RGB (legacy)rgb(162, 135, 193)
RGB %rgb(64% 53% 76%)
HSLhsl(268 32% 64%)
HSV / HSBhsv(268, 30%, 76%)
HWBhwb(268 53% 24%)
CMYKcmyk(16%, 30%, 0%, 24%)
CIELAB (D50)lab(60.46 19.15 -26.5)
LCHlch(60.46 32.69 305.86)
OKLaboklab(0.6693 0.0515 -0.0725)
OKLCHoklch(0.6693 0.089 305.41)
Decimal10651585

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 8.3
Closest web-safe color#9999cc
Hue268°
Saturation (HSL / HSV)32% / 30%
Lightness (HSL)64%
Brightness or Value (HSV)76%
Luminance (Rec.601 / Rec.709)59% / 57%
Relative luminance (WCAG)0.2886
Red / Green / Blue162 / 135 / 193

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.77: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 57.9 / -43.8 · As background with white / black text: Lc -63.3 / 46.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: #a287c1;
  --color-brand-oklch: oklch(66.93% 0.089 305.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(162 135 193 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a287c1] text-[#a287c1] border-[#a287c1]">