#7E669C

A color in the Violet family

#7e669c is a color in the Violet family: RGB(126, 102, 156), HSL(267°, 21%, 51%), CMYK(19%, 35%, 0%, 39%). Closest named color: slategray. Contrast is 4.92:1 on white and 4.27:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7e669c
RGBrgb(126 102 156)
RGB (legacy)rgb(126, 102, 156)
RGB %rgb(49% 40% 61%)
HSLhsl(267 21% 51%)
HSV / HSBhsv(267, 35%, 61%)
HWBhwb(267 40% 39%)
CMYKcmyk(19%, 35%, 0%, 39%)
CIELAB (D50)lab(47.21 18.34 -25.91)
LCHlch(47.21 31.75 305.28)
OKLaboklab(0.5549 0.0483 -0.0712)
OKLCHoklch(0.5549 0.086 304.14)
Decimal8283804

Properties

Color ToneViolet
Closest named colorslategray ΔE 8.2
Closest web-safe color#666699
Hue267°
Saturation (HSL / HSV)21% / 35%
Lightness (HSL)51%
Brightness or Value (HSV)61%
Luminance (Rec.601 / Rec.709)45% / 44%
Relative luminance (WCAG)0.1634
Red / Green / Blue126 / 102 / 156

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 74 / -27.7 · As background with white / black text: Lc -79.4 / 30.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: #7e669c;
  --color-brand-oklch: oklch(55.49% 0.086 304.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 102 156 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e669c] text-[#7e669c] border-[#7e669c]">