#976CD7#976CD7

#976CD7 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.2% C 0.160 H 300.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#976CD7
RGBrgb(151, 108, 215)
HSLhsl(264, 57%, 63%)
HSVhsv(264, 50%, 84%)
CMYKcmyk(29.8%, 49.8%, 0%, 15.7%)
CIE-LABlab(54.25, 39.09, -48.96)
CIE-LCHlch(54.25, 62.65, 308.61°)
OKLaboklab(62.17% 0.0808 -0.1378)
OKLCHoklch(62.17% 0.16 300.4)
XYZxyz(30.3879, 22.2106, 66.9629)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CD7 #ACD76C
analogous
#6C76D7 #976CD7 #CC6CD7
triadic
#976CD7 #D7976C #6CD797
tetradic
#976CD7 #D76C76 #ACD76C #6CD7CC
square
#976CD7 #D76C76 #ACD76C #6CD7CC
split-complementary
#976CD7 #D7CC6C #76D76C
monochromatic
#592B9E #753CCA #976CD7 #B99CE4 #DBCCF1

Accessibility & contrast

On white

3.86
#976CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#976CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CD7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CD7#FFFFFF#000000##000000
##976CD71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981DB
Deuteranopia (green-blind)
#5481D4
Tritanopia (blue-blind)
#8A8097
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #976cd7;
/* rgb */ color: rgb(151, 108, 215);
/* oklch */ color: oklch(62.2% 0.160 300.4);
Tailwind
colors: {
  custom: {
    50: '#b897e4',
    500: '#976cd7',
    950: '#000000',
  },
}
SCSS
$custom: #976cd7;
$custom-light: #b897e4;
$custom-dark: #000000;
JSON
{
  "hex": "#976cd7",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 264.112,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62172,
    "c": 0.15972,
    "h": 300.4
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#976CD7
secondary
#D3E2BC
accent
#C52183
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #976CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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