#7A59CD

A color in the Violet family

#7a59cd is a color in the Violet family: RGB(122, 89, 205), HSL(257°, 54%, 58%), CMYK(40%, 57%, 0%, 20%). Closest named color: slateblue. Contrast is 5.07:1 on white and 4.14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7a59cd
RGBrgb(122 89 205)
RGB (legacy)rgb(122, 89, 205)
RGB %rgb(48% 35% 80%)
HSLhsl(257 54% 58%)
HSV / HSBhsv(257, 57%, 80%)
HWBhwb(257 35% 20%)
CMYKcmyk(40%, 57%, 0%, 20%)
CIELAB (D50)lab(45.9 34.35 -56.49)
LCHlch(45.9 66.11 301.31)
OKLaboklab(0.5561 0.0675 -0.1584)
OKLCHoklch(0.5561 0.1722 293.08)
Decimal8018381

Properties

Color ToneViolet
Closest named colorslateblue ΔE 2.6
Closest web-safe color#6666cc
Hue257°
Saturation (HSL / HSV)54% / 57%
Lightness (HSL)58%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)44% / 41%
Relative luminance (WCAG)0.1569
Red / Green / Blue122 / 89 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.07:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.14: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 74.7 / -27 · As background with white / black text: Lc -80.1 / 29.4

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: #7a59cd;
  --color-brand-oklch: oklch(55.61% 0.1722 293.08);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(122 89 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7a59cd] text-[#7a59cd] border-[#7a59cd]">