#A287C3

A color in the Violet family

#a287c3 is a color in the Violet family: RGB(162, 135, 195), HSL(267°, 33%, 65%), CMYK(17%, 31%, 0%, 24%). Closest named color: mediumpurple. Contrast is 3.09:1 on white and 6.79:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a287c3
RGBrgb(162 135 195)
RGB (legacy)rgb(162, 135, 195)
RGB %rgb(64% 53% 76%)
HSLhsl(267 33% 65%)
HSV / HSBhsv(267, 31%, 76%)
HWBhwb(267 53% 24%)
CMYKcmyk(17%, 31%, 0%, 24%)
CIELAB (D50)lab(60.53 19.49 -27.52)
LCHlch(60.53 33.72 305.31)
OKLaboklab(0.6702 0.0521 -0.0754)
OKLCHoklch(0.6702 0.0916 304.65)
Decimal10651587

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 8.1
Closest web-safe color#9999cc
Hue267°
Saturation (HSL / HSV)33% / 31%
Lightness (HSL)65%
Brightness or Value (HSV)76%
Luminance (Rec.601 / Rec.709)59% / 57%
Relative luminance (WCAG)0.2895
Red / Green / Blue162 / 135 / 195

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.09:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.79: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.8 / -43.9 · As background with white / black text: Lc -63.2 / 46.2

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