#A67DEC

A color in the Violet family

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

Open in Picker Generate Scheme

Color Codes

HEX#a67dec
RGBrgb(166 125 236)
RGB (legacy)rgb(166, 125, 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.13 33.62 -50.97)
LCHlch(60.13 61.06 303.41)
OKLaboklab(0.6764 0.0789 -0.1419)
OKLCHoklch(0.6764 0.1624 299.06)
Decimal10911212

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5
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.2883
Red / Green / Blue166 / 125 / 236

WCAG 2.2 Contrast Ratio

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