#7A67EB

A color in the Violet family

#7a67eb is a color in the Violet family: RGB(122, 103, 235), HSL(249°, 77%, 66%), CMYK(48%, 56%, 0%, 8%). Closest named color: mediumslateblue. Contrast is 4.23:1 on white and 4.97:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7a67eb
RGBrgb(122 103 235)
RGB (legacy)rgb(122, 103, 235)
RGB %rgb(48% 40% 92%)
HSLhsl(249 77% 66%)
HSV / HSBhsv(249, 56%, 92%)
HWBhwb(249 40% 8%)
CMYKcmyk(48%, 56%, 0%, 8%)
CIELAB (D50)lab(50.79 33.44 -65.6)
LCHlch(50.79 73.63 297.01)
OKLaboklab(0.5999 0.0517 -0.1843)
OKLCHoklch(0.5999 0.1914 285.65)
Decimal8021995

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 0.5
Closest web-safe color#6666ff
Hue249°
Saturation (HSL / HSV)77% / 56%
Lightness (HSL)66%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)49% / 46%
Relative luminance (WCAG)0.1984
Red / Green / Blue122 / 103 / 235

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.23:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.97: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 68.8 / -32.8 · As background with white / black text: Lc -74.3 / 35.2

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