#976DFD

A color in the Violet family

#976dfd is a color in the Violet family: RGB(151, 109, 253), HSL(258°, 97%, 71%), CMYK(40%, 57%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 3.55:1 on white and 5.92:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#976dfd
RGBrgb(151 109 253)
RGB (legacy)rgb(151, 109, 253)
RGB %rgb(59% 43% 99%)
HSLhsl(258 97% 71%)
HSV / HSBhsv(258, 57%, 99%)
HWBhwb(258 43% 1%)
CMYKcmyk(40%, 57%, 0%, 1%)
CIELAB (D50)lab(55.89 41.41 -67.22)
LCHlch(55.89 78.95 301.63)
OKLaboklab(0.6469 0.0811 -0.1886)
OKLCHoklch(0.6469 0.2053 293.25)
Decimal9924093

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 5.2
Closest web-safe color#9966ff
Hue258°
Saturation (HSL / HSV)97% / 57%
Lightness (HSL)71%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)54% / 50%
Relative luminance (WCAG)0.2461
Red / Green / Blue151 / 109 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.55:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.92: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 62.7 / -39 · As background with white / black text: Lc -68.2 / 41.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: #976dfd;
  --color-brand-oklch: oklch(64.69% 0.2053 293.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(151 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#976dfd] text-[#976dfd] border-[#976dfd]">