#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.
Color Codes
| HEX | #7e669c |
|---|---|
| RGB | rgb(126 102 156) |
| RGB (legacy) | rgb(126, 102, 156) |
| RGB % | rgb(49% 40% 61%) |
| HSL | hsl(267 21% 51%) |
| HSV / HSB | hsv(267, 35%, 61%) |
| HWB | hwb(267 40% 39%) |
| CMYK | cmyk(19%, 35%, 0%, 39%) |
| CIELAB (D50) | lab(47.21 18.34 -25.91) |
| LCH | lch(47.21 31.75 305.28) |
| OKLab | oklab(0.5549 0.0483 -0.0712) |
| OKLCH | oklch(0.5549 0.086 304.14) |
| Decimal | 8283804 |
Properties
| Color Tone | Violet |
|---|---|
| Closest named color | slategray ΔE 8.2 |
| Closest web-safe color | #666699 |
| Hue | 267° |
| 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 / Blue | 126 / 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
Complementary
Split Complementary
Analogous
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]">