#A67DE2

A color in the Violet family

#a67de2 is a color in the Violet family: RGB(166, 125, 226), HSL(264°, 64%, 69%), CMYK(27%, 45%, 0%, 11%). Closest named color: mediumpurple. Contrast is 3.16:1 on white and 6.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67de2
RGBrgb(166 125 226)
RGB (legacy)rgb(166, 125, 226)
RGB %rgb(65% 49% 89%)
HSLhsl(264 64% 69%)
HSV / HSBhsv(264, 45%, 89%)
HWBhwb(264 49% 11%)
CMYKcmyk(27%, 45%, 0%, 11%)
CIELAB (D50)lab(59.7 31.73 -46.1)
LCHlch(59.7 55.97 304.54)
OKLaboklab(0.671 0.0776 -0.128)
OKLCHoklch(0.671 0.1497 301.2)
Decimal10911202

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 4.6
Closest web-safe color#9966cc
Hue264°
Saturation (HSL / HSV)64% / 45%
Lightness (HSL)69%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)58% / 55%
Relative luminance (WCAG)0.2827
Red / Green / Blue166 / 125 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.65: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.5 / -43.2 · As background with white / black text: Lc -63.9 / 45.6

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: #a67de2;
  --color-brand-oklch: oklch(67.1% 0.1497 301.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 125 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67de2] text-[#a67de2] border-[#a67de2]">