#A287C9

A color in the Violet family

#a287c9 is a color in the Violet family: RGB(162, 135, 201), HSL(265°, 38%, 66%), CMYK(19%, 33%, 0%, 21%). Closest named color: mediumpurple. Contrast is 3.07:1 on white and 6.85:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a287c9
RGBrgb(162 135 201)
RGB (legacy)rgb(162, 135, 201)
RGB %rgb(64% 53% 79%)
HSLhsl(265 38% 66%)
HSV / HSBhsv(265, 33%, 79%)
HWBhwb(265 53% 21%)
CMYKcmyk(19%, 33%, 0%, 21%)
CIELAB (D50)lab(60.74 20.54 -30.57)
LCHlch(60.74 36.83 303.89)
OKLaboklab(0.6729 0.0537 -0.0839)
OKLCHoklch(0.6729 0.0996 302.59)
Decimal10651593

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 7.5
Closest web-safe color#9999cc
Hue265°
Saturation (HSL / HSV)38% / 33%
Lightness (HSL)66%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)59% / 57%
Relative luminance (WCAG)0.2923
Red / Green / Blue162 / 135 / 201

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.85: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.5 / -44.2 · As background with white / black text: Lc -62.9 / 46.5

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