#7A67CA

A color in the Violet family

#7a67ca is a color in the Violet family: RGB(122, 103, 202), HSL(252°, 48%, 60%), CMYK(40%, 49%, 0%, 21%). Closest named color: slateblue. Contrast is 4.54:1 on white and 4.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7a67ca
RGBrgb(122 103 202)
RGB (legacy)rgb(122, 103, 202)
RGB %rgb(48% 40% 79%)
HSLhsl(252 48% 60%)
HSV / HSBhsv(252, 49%, 79%)
HWBhwb(252 40% 21%)
CMYKcmyk(40%, 49%, 0%, 21%)
CIELAB (D50)lab(49.05 25.88 -49.74)
LCHlch(49.05 56.07 297.49)
OKLaboklab(0.5783 0.05 -0.139)
OKLCHoklch(0.5783 0.1477 289.8)
Decimal8021962

Properties

Color ToneViolet
Closest named colorslateblue ΔE 4.4
Closest web-safe color#6666cc
Hue252°
Saturation (HSL / HSV)48% / 49%
Lightness (HSL)60%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)47% / 45%
Relative luminance (WCAG)0.181
Red / Green / Blue122 / 103 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.62: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 71.4 / -30.3 · As background with white / black text: Lc -76.8 / 32.7

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