#A67DCF

A color in the Violet family

#a67dcf is a color in the Violet family: RGB(166, 125, 207), HSL(270°, 46%, 65%), CMYK(20%, 40%, 0%, 19%). Closest named color: mediumpurple. Contrast is 3.25:1 on white and 6.46:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a67dcf
RGBrgb(166 125 207)
RGB (legacy)rgb(166, 125, 207)
RGB %rgb(65% 49% 81%)
HSLhsl(270 46% 65%)
HSV / HSBhsv(270, 40%, 81%)
HWBhwb(270 49% 19%)
CMYKcmyk(20%, 40%, 0%, 19%)
CIELAB (D50)lab(58.95 28.29 -36.67)
LCHlch(58.95 46.31 307.65)
OKLaboklab(0.6613 0.0743 -0.1012)
OKLCHoklch(0.6613 0.1256 306.26)
Decimal10911183

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.3
Closest web-safe color#9966cc
Hue270°
Saturation (HSL / HSV)46% / 40%
Lightness (HSL)65%
Brightness or Value (HSV)81%
Luminance (Rec.601 / Rec.709)57% / 55%
Relative luminance (WCAG)0.2728
Red / Green / Blue166 / 125 / 207

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.25:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.46: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 59.7 / -42 · As background with white / black text: Lc -65.1 / 44.4

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