#A287C0

A color in the Violet family

#a287c0 is a color in the Violet family: RGB(162, 135, 192), HSL(268°, 31%, 64%), CMYK(16%, 30%, 0%, 25%). Closest named color: mediumpurple. Contrast is 3.11:1 on white and 6.76:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a287c0
RGBrgb(162 135 192)
RGB (legacy)rgb(162, 135, 192)
RGB %rgb(64% 53% 75%)
HSLhsl(268 31% 64%)
HSV / HSBhsv(268, 30%, 75%)
HWBhwb(268 53% 25%)
CMYKcmyk(16%, 30%, 0%, 25%)
CIELAB (D50)lab(60.43 18.98 -25.99)
LCHlch(60.43 32.18 306.14)
OKLaboklab(0.6689 0.0513 -0.0711)
OKLCHoklch(0.6689 0.0876 305.8)
Decimal10651584

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.11:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.76: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 58 / -43.8 · As background with white / black text: Lc -63.4 / 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: #a287c0;
  --color-brand-oklch: oklch(66.89% 0.0876 305.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(162 135 192 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a287c0] text-[#a287c0] border-[#a287c0]">