#7A67DB

A color in the Violet family

#7a67db is a color in the Violet family: RGB(122, 103, 219), HSL(250°, 62%, 63%), CMYK(44%, 53%, 0%, 14%). Closest named color: mediumslateblue. Contrast is 4.38:1 on white and 4.79:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7a67db
RGBrgb(122 103 219)
RGB (legacy)rgb(122, 103, 219)
RGB %rgb(48% 40% 86%)
HSLhsl(250 62% 63%)
HSV / HSBhsv(250, 53%, 86%)
HWBhwb(250 40% 14%)
CMYKcmyk(44%, 53%, 0%, 14%)
CIELAB (D50)lab(49.92 29.72 -58.02)
LCHlch(49.92 65.19 297.13)
OKLaboklab(0.5891 0.0513 -0.1627)
OKLCHoklch(0.5891 0.1706 287.49)
Decimal8021979

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 2.9
Closest web-safe color#6666cc
Hue250°
Saturation (HSL / HSV)62% / 53%
Lightness (HSL)63%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)48% / 45%
Relative luminance (WCAG)0.1895
Red / Green / Blue122 / 103 / 219

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.79: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 70.1 / -31.5 · As background with white / black text: Lc -75.6 / 34

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: #7a67db;
  --color-brand-oklch: oklch(58.91% 0.1706 287.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(122 103 219 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7a67db] text-[#7a67db] border-[#7a67db]">