#7A67FF

A color in the Violet family

#7a67ff is a color in the Violet family: RGB(122, 103, 255), HSL(248°, 100%, 70%), CMYK(52%, 60%, 0%, 0%). Closest named color: mediumslateblue. Contrast is 4.03:1 on white and 5.21:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7a67ff
RGBrgb(122 103 255)
RGB (legacy)rgb(122, 103, 255)
RGB %rgb(48% 40% 100%)
HSLhsl(248 100% 70%)
HSV / HSBhsv(248, 60%, 100%)
HWBhwb(248 40% 0%)
CMYKcmyk(52%, 60%, 0%, 0%)
CIELAB (D50)lab(51.97 38.2 -74.81)
LCHlch(51.97 84 297.05)
OKLaboklab(0.6142 0.0512 -0.2106)
OKLCHoklch(0.6142 0.2168 283.67)
Decimal8022015

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 2.6
Closest web-safe color#6666ff
Hue248°
Saturation (HSL / HSV)100% / 60%
Lightness (HSL)70%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)49% / 46%
Relative luminance (WCAG)0.2106
Red / Green / Blue122 / 103 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.03:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.21: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 67.1 / -34.5 · As background with white / black text: Lc -72.6 / 37

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