#976DCF#976DCF

#976DCF is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.148 H 302.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#976DCF
RGBrgb(151, 109, 207)
HSLhsl(266, 51%, 62%)
HSVhsv(266, 47%, 81%)
CMYKcmyk(27.1%, 47.3%, 0%, 18.8%)
CIE-LABlab(54.05, 36.56, -44.74)
CIE-LCHlch(54.05, 57.78, 309.25°)
OKLaboklab(61.89% 0.0786 -0.1255)
OKLCHoklch(61.89% 0.148 302)
XYZxyz(29.4911, 22.0215, 61.7163)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DCF #A5CF6D
analogous
#6D74CF #976DCF #C86DCF
triadic
#976DCF #CF976D #6DCF97
tetradic
#976DCF #CF6D74 #A5CF6D #6DCFC8
square
#976DCF #CF6D74 #A5CF6D #6DCFC8
split-complementary
#976DCF #CFC86D #74CF6D
monochromatic
#5A3092 #763FC0 #976DCF #B89BDE #D9C9ED

Accessibility & contrast

On white

3.89
#976DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#976DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DCF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DCF#FFFFFF#000000##000000
##976DCF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D2
Deuteranopia (green-blind)
#5A81CD
Tritanopia (blue-blind)
#8D7E94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976dcf;
/* rgb */ color: rgb(151, 109, 207);
/* oklch */ color: oklch(61.9% 0.148 302.0);
Tailwind
colors: {
  custom: {
    50: '#b898de',
    500: '#976dcf',
    950: '#000000',
  },
}
SCSS
$custom: #976dcf;
$custom-light: #b898de;
$custom-dark: #000000;
JSON
{
  "hex": "#976dcf",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 265.714,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.14805,
    "h": 302
  },
  "luminance": 0.22022
}

Semantic roles & 50–950 ramp

primary
#976DCF
secondary
#CEDEBA
accent
#BE287D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976DCF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#976DCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva