#7A67BB

A color in the Violet family

#7a67bb is a color in the Violet family: RGB(122, 103, 187), HSL(254°, 38%, 57%), CMYK(35%, 45%, 0%, 27%). Closest named color: slateblue. Contrast is 4.68:1 on white and 4.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7a67bb
RGBrgb(122 103 187)
RGB (legacy)rgb(122, 103, 187)
RGB %rgb(48% 40% 73%)
HSLhsl(254 38% 57%)
HSV / HSBhsv(254, 45%, 73%)
HWBhwb(254 40% 27%)
CMYKcmyk(35%, 45%, 0%, 27%)
CIELAB (D50)lab(48.34 22.62 -42.25)
LCHlch(48.34 47.92 298.17)
OKLaboklab(0.5694 0.0482 -0.1176)
OKLCHoklch(0.5694 0.1271 292.29)
Decimal8021947

Properties

Color ToneViolet
Closest named colorslateblue ΔE 5.4
Closest web-safe color#6666cc
Hue254°
Saturation (HSL / HSV)38% / 45%
Lightness (HSL)57%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)46% / 44%
Relative luminance (WCAG)0.1743
Red / Green / Blue122 / 103 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.49:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 72.4 / -29.3 · As background with white / black text: Lc -77.8 / 31.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: #7a67bb;
  --color-brand-oklch: oklch(56.94% 0.1271 292.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(122 103 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7a67bb] text-[#7a67bb] border-[#7a67bb]">