#A67EDA

A color in the Violet family

#a67eda is a color in the Violet family: RGB(166, 126, 218), HSL(266°, 55%, 67%), CMYK(24%, 42%, 0%, 15%). Closest named color: mediumpurple. Contrast is 3.17:1 on white and 6.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67eda
RGBrgb(166 126 218)
RGB (legacy)rgb(166, 126, 218)
RGB %rgb(65% 49% 85%)
HSLhsl(266 55% 67%)
HSV / HSBhsv(266, 42%, 85%)
HWBhwb(266 49% 15%)
CMYKcmyk(24%, 42%, 0%, 15%)
CIELAB (D50)lab(59.61 29.72 -41.79)
LCHlch(59.61 51.29 305.42)
OKLaboklab(0.6685 0.0749 -0.1158)
OKLCHoklch(0.6685 0.1379 302.9)
Decimal10911450

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 4.9
Closest web-safe color#9966cc
Hue266°
Saturation (HSL / HSV)55% / 42%
Lightness (HSL)67%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)58% / 55%
Relative luminance (WCAG)0.2809
Red / Green / Blue166 / 126 / 218

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.17:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.62: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.7 / -43 · As background with white / black text: Lc -64.1 / 45.3

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: #a67eda;
  --color-brand-oklch: oklch(66.85% 0.1379 302.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 126 218 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67eda] text-[#a67eda] border-[#a67eda]">