#976BC7#976BC7

#976BC7 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.1% C 0.141 H 304.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#976BC7
RGBrgb(151, 107, 199)
HSLhsl(269, 45%, 60%)
HSVhsv(269, 46%, 78%)
CMYKcmyk(24.1%, 46.2%, 0%, 22%)
CIE-LABlab(53.19, 35.76, -41.55)
CIE-LCHlch(53.19, 54.82, 310.72°)
OKLaboklab(61.11% 0.0803 -0.1162)
OKLCHoklch(61.11% 0.141 304.6)
XYZxyz(28.3268, 21.2183, 56.6250)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BC7 #9BC76B
analogous
#6B6DC7 #976BC7 #C56BC7
triadic
#976BC7 #C7976B #6BC797
tetradic
#976BC7 #C76B6D #9BC76B #6BC7C5
square
#976BC7 #C76B6D #9BC76B #6BC7C5
split-complementary
#976BC7 #C7C56B #6DC76B
monochromatic
#5A3285 #7843B2 #976BC7 #B697D8 #D5C4E9

Accessibility & contrast

On white

4.00
#976BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#976BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BC7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BC7#FFFFFF#000000##000000
##976BC71.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECA
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#8F7B8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976bc7;
/* rgb */ color: rgb(151, 107, 199);
/* oklch */ color: oklch(61.1% 0.141 304.6);
Tailwind
colors: {
  custom: {
    50: '#b796d8',
    500: '#976bc7',
    950: '#000000',
  },
}
SCSS
$custom: #976bc7;
$custom-light: #b796d8;
$custom-dark: #000000;
JSON
{
  "hex": "#976bc7",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 268.696,
    "s": 45.098,
    "l": 60
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.14121,
    "h": 304.6
  },
  "luminance": 0.21218
}

Semantic roles & 50–950 ramp

primary
#976BC7
secondary
#C8D9B5
accent
#D55397
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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