#A466EA

A color in the Violet family

#a466ea is a color in the Violet family: RGB(164, 102, 234), HSL(268°, 76%, 66%), CMYK(30%, 56%, 0%, 8%). Closest named color: mediumpurple. Contrast is 3.71:1 on white and 5.67:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a466ea
RGBrgb(164 102 234)
RGB (legacy)rgb(164, 102, 234)
RGB %rgb(64% 40% 92%)
HSLhsl(268 76% 66%)
HSV / HSBhsv(268, 56%, 92%)
HWBhwb(268 40% 8%)
CMYKcmyk(30%, 56%, 0%, 8%)
CIELAB (D50)lab(54.84 44.68 -58.28)
LCHlch(54.84 73.43 307.47)
OKLaboklab(0.6369 0.1057 -0.163)
OKLCHoklch(0.6369 0.1943 302.95)
Decimal10774250

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 4.2
Closest web-safe color#9966ff
Hue268°
Saturation (HSL / HSV)76% / 56%
Lightness (HSL)66%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)53% / 49%
Relative luminance (WCAG)0.2334
Red / Green / Blue164 / 102 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.71:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.67: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 64.2 / -37.4 · As background with white / black text: Lc -69.7 / 39.8

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: #a466ea;
  --color-brand-oklch: oklch(63.69% 0.1943 302.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(164 102 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a466ea] text-[#a466ea] border-[#a466ea]">