#7A67F2

A color in the Violet family

#7a67f2 is a color in the Violet family: RGB(122, 103, 242), HSL(248°, 84%, 68%), CMYK(50%, 57%, 0%, 5%). Closest named color: mediumslateblue. Contrast is 4.16:1 on white and 5.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7a67f2
RGBrgb(122 103 242)
RGB (legacy)rgb(122, 103, 242)
RGB %rgb(48% 40% 95%)
HSLhsl(248 84% 68%)
HSV / HSBhsv(248, 57%, 95%)
HWBhwb(248 40% 5%)
CMYKcmyk(50%, 57%, 0%, 5%)
CIELAB (D50)lab(51.19 35.1 -68.86)
LCHlch(51.19 77.29 297.01)
OKLaboklab(0.6048 0.0516 -0.1936)
OKLCHoklch(0.6048 0.2004 284.92)
Decimal8022002

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 0.7
Closest web-safe color#6666ff
Hue248°
Saturation (HSL / HSV)84% / 57%
Lightness (HSL)68%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)49% / 46%
Relative luminance (WCAG)0.2025
Red / Green / Blue122 / 103 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.05: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.3 / -33.4 · As background with white / black text: Lc -73.8 / 35.8

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