#A79ECD

A color in the Violet family

#a79ecd is a color in the Violet family: RGB(167, 158, 205), HSL(251°, 32%, 71%), CMYK(19%, 23%, 0%, 20%). Closest named color: darkgray. Contrast is 2.5:1 on white and 8.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a79ecd
RGBrgb(167 158 205)
RGB (legacy)rgb(167, 158, 205)
RGB %rgb(65% 62% 80%)
HSLhsl(251 32% 71%)
HSV / HSBhsv(251, 23%, 80%)
HWBhwb(251 62% 20%)
CMYKcmyk(19%, 23%, 0%, 20%)
CIELAB (D50)lab(67.13 10.65 -22.99)
LCHlch(67.13 25.33 294.85)
OKLaboklab(0.7233 0.027 -0.0625)
OKLCHoklch(0.7233 0.0681 293.4)
Decimal10985165

Properties

Color ToneViolet
Closest named colordarkgray ΔE 6.9
Closest web-safe color#9999cc
Hue251°
Saturation (HSL / HSV)32% / 23%
Lightness (HSL)71%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)65% / 64%
Relative luminance (WCAG)0.3708
Red / Green / Blue167 / 158 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.50:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.42:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 49 / -53 · As background with white / black text: Lc -54.1 / 55

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: #a79ecd;
  --color-brand-oklch: oklch(72.33% 0.0681 293.4);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(167 158 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a79ecd] text-[#a79ecd] border-[#a79ecd]">