#A287C6

A color in the Violet family

#a287c6 is a color in the Violet family: RGB(162, 135, 198), HSL(266°, 36%, 65%), CMYK(18%, 32%, 0%, 22%). Closest named color: mediumpurple. Contrast is 3.08:1 on white and 6.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a287c6
RGBrgb(162 135 198)
RGB (legacy)rgb(162, 135, 198)
RGB %rgb(64% 53% 78%)
HSLhsl(266 36% 65%)
HSV / HSBhsv(266, 32%, 78%)
HWBhwb(266 53% 22%)
CMYKcmyk(18%, 32%, 0%, 22%)
CIELAB (D50)lab(60.63 20.01 -29.05)
LCHlch(60.63 35.27 304.56)
OKLaboklab(0.6715 0.0529 -0.0797)
OKLCHoklch(0.6715 0.0956 303.58)
Decimal10651590

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 7.8
Closest web-safe color#9999cc
Hue266°
Saturation (HSL / HSV)36% / 32%
Lightness (HSL)65%
Brightness or Value (HSV)78%
Luminance (Rec.601 / Rec.709)59% / 57%
Relative luminance (WCAG)0.2909
Red / Green / Blue162 / 135 / 198

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.82: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.7 / -44.1 · As background with white / black text: Lc -63.1 / 46.4

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: #a287c6;
  --color-brand-oklch: oklch(67.15% 0.0956 303.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(162 135 198 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a287c6] text-[#a287c6] border-[#a287c6]">