#766EA2

A color in the Violet family

#766ea2 is a color in the Violet family: RGB(118, 110, 162), HSL(249°, 22%, 53%), CMYK(27%, 32%, 0%, 36%). Closest named color: slategray. Contrast is 4.64:1 on white and 4.52:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#766ea2
RGBrgb(118 110 162)
RGB (legacy)rgb(118, 110, 162)
RGB %rgb(46% 43% 64%)
HSLhsl(249 22% 53%)
HSV / HSBhsv(249, 32%, 64%)
HWBhwb(249 43% 36%)
CMYKcmyk(27%, 32%, 0%, 36%)
CIELAB (D50)lab(48.76 12.2 -27.13)
LCHlch(48.76 29.74 294.21)
OKLaboklab(0.5663 0.0281 -0.0745)
OKLCHoklch(0.5663 0.0797 290.68)
Decimal7761570

Properties

Color ToneViolet
Closest named colorslategray ΔE 6.6
Closest web-safe color#666699
Hue249°
Saturation (HSL / HSV)22% / 32%
Lightness (HSL)53%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)46% / 45%
Relative luminance (WCAG)0.1761
Red / Green / Blue118 / 110 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.64:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.52: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 72.2 / -29.5 · As background with white / black text: Lc -77.7 / 31.9

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: #766ea2;
  --color-brand-oklch: oklch(56.63% 0.0797 290.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(118 110 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#766ea2] text-[#766ea2] border-[#766ea2]">