#A67CEE

A color in the Violet family

#a67cee is a color in the Violet family: RGB(166, 124, 238), HSL(262°, 77%, 71%), CMYK(30%, 48%, 0%, 7%). Closest named color: mediumpurple. Contrast is 3.12:1 on white and 6.74:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67cee
RGBrgb(166 124 238)
RGB (legacy)rgb(166, 124, 238)
RGB %rgb(65% 49% 93%)
HSLhsl(262 77% 71%)
HSV / HSBhsv(262, 48%, 93%)
HWBhwb(262 49% 7%)
CMYKcmyk(30%, 48%, 0%, 7%)
CIELAB (D50)lab(59.99 34.54 -52.3)
LCHlch(59.99 62.67 303.44)
OKLaboklab(0.6758 0.0804 -0.1457)
OKLCHoklch(0.6758 0.1664 298.89)
Decimal10910958

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5
Closest web-safe color#9966ff
Hue262°
Saturation (HSL / HSV)77% / 48%
Lightness (HSL)71%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)59% / 55%
Relative luminance (WCAG)0.287
Red / Green / Blue166 / 124 / 238

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.12:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.74: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: #a67cee;
  --color-brand-oklch: oklch(67.58% 0.1664 298.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 124 238 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67cee] text-[#a67cee] border-[#a67cee]">