#976BD8#976BD8

#976BD8 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.1% C 0.163 H 300.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#976BD8
RGBrgb(151, 107, 216)
HSLhsl(264, 58%, 63%)
HSVhsv(264, 50%, 85%)
CMYKcmyk(30.1%, 50.5%, 0%, 15.3%)
CIE-LABlab(54.08, 39.90, -49.79)
CIE-LCHlch(54.08, 63.81, 308.71°)
OKLaboklab(62.07% 0.0822 -0.1402)
OKLCHoklch(62.07% 0.163 300.4)
XYZxyz(30.4120, 22.0524, 67.6068)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BD8 #ACD86B
analogous
#6B75D8 #976BD8 #CD6BD8
triadic
#976BD8 #D8976B #6BD897
tetradic
#976BD8 #D86B75 #ACD86B #6BD8CD
square
#976BD8 #D86B75 #ACD86B #6BD8CD
split-complementary
#976BD8 #D8CD6B #75D86B
monochromatic
#592A9F #753BCB #976BD8 #B99BE5 #DBCCF2

Accessibility & contrast

On white

3.88
#976BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#976BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BD8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BD8#FFFFFF#000000##000000
##976BD81.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4681DC
Deuteranopia (green-blind)
#5281D5
Tritanopia (blue-blind)
#8A7F98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976bd8;
/* rgb */ color: rgb(151, 107, 216);
/* oklch */ color: oklch(62.1% 0.163 300.4);
Tailwind
colors: {
  custom: {
    50: '#b896e4',
    500: '#976bd8',
    950: '#000000',
  },
}
SCSS
$custom: #976bd8;
$custom-light: #b896e4;
$custom-dark: #000000;
JSON
{
  "hex": "#976bd8",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 216
  },
  "hsl": {
    "h": 264.22,
    "s": 58.289,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.16253,
    "h": 300.4
  },
  "luminance": 0.22053
}

Semantic roles & 50–950 ramp

primary
#976BD8
secondary
#D3E3BC
accent
#C62083
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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