#7D61BA

A color in the Violet family

#7d61ba is a color in the Violet family: RGB(125, 97, 186), HSL(259°, 39%, 55%), CMYK(33%, 48%, 0%, 27%). Closest named color: slateblue. Contrast is 4.89:1 on white and 4.29:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7d61ba
RGBrgb(125 97 186)
RGB (legacy)rgb(125, 97, 186)
RGB %rgb(49% 38% 73%)
HSLhsl(259 39% 55%)
HSV / HSBhsv(259, 48%, 73%)
HWBhwb(259 38% 27%)
CMYKcmyk(33%, 48%, 0%, 27%)
CIELAB (D50)lab(47.12 26.71 -43.58)
LCHlch(47.12 51.11 301.5)
OKLaboklab(0.5606 0.0599 -0.1214)
OKLCHoklch(0.5606 0.1354 296.27)
Decimal8217018

Properties

Color ToneViolet
Closest named colorslateblue ΔE 4.9
Closest web-safe color#6666cc
Hue259°
Saturation (HSL / HSV)39% / 48%
Lightness (HSL)55%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)45% / 43%
Relative luminance (WCAG)0.1645
Red / Green / Blue125 / 97 / 186

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.89:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.29: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 73.7 / -28 · As background with white / black text: Lc -79.2 / 30.3

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: #7d61ba;
  --color-brand-oklch: oklch(56.06% 0.1354 296.27);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(125 97 186 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7d61ba] text-[#7d61ba] border-[#7d61ba]">