#A67EEC

A color in the Violet family

#a67eec is a color in the Violet family: RGB(166, 126, 236), HSL(262°, 74%, 71%), CMYK(30%, 47%, 0%, 7%). Closest named color: mediumpurple. Contrast is 3.08:1 on white and 6.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a67eec
RGBrgb(166 126 236)
RGB (legacy)rgb(166, 126, 236)
RGB %rgb(65% 49% 93%)
HSLhsl(262 74% 71%)
HSV / HSBhsv(262, 47%, 93%)
HWBhwb(262 49% 7%)
CMYKcmyk(30%, 47%, 0%, 7%)
CIELAB (D50)lab(60.36 33.09 -50.61)
LCHlch(60.36 60.47 303.17)
OKLaboklab(0.6781 0.0775 -0.1409)
OKLCHoklch(0.6781 0.1608 298.83)
Decimal10911468

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.2
Closest web-safe color#9966ff
Hue262°
Saturation (HSL / HSV)74% / 47%
Lightness (HSL)71%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)59% / 56%
Relative luminance (WCAG)0.2908
Red / Green / Blue166 / 126 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.82: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: #a67eec;
  --color-brand-oklch: oklch(67.81% 0.1608 298.83);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 126 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67eec] text-[#a67eec] border-[#a67eec]">