#976BD4#976BD4

#976BD4 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.8% C 0.158 H 301.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#976BD4
RGBrgb(151, 107, 212)
HSLhsl(265, 55%, 63%)
HSVhsv(265, 50%, 83%)
CMYKcmyk(28.8%, 49.5%, 0%, 16.9%)
CIE-LABlab(53.87, 38.91, -47.87)
CIE-LCHlch(53.87, 61.69, 309.11°)
OKLaboklab(61.83% 0.0818 -0.1346)
OKLCHoklch(61.83% 0.158 301.3)
XYZxyz(29.9011, 21.8481, 64.9164)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BD4 #A8D46B
analogous
#6B73D4 #976BD4 #CC6BD4
triadic
#976BD4 #D4976B #6BD497
tetradic
#976BD4 #D46B73 #A8D46B #6BD4CC
square
#976BD4 #D46B73 #A8D46B #6BD4CC
split-complementary
#976BD4 #D4CC6B #73D46B
monochromatic
#5A2C98 #763CC6 #976BD4 #B89AE2 #DACAF0

Accessibility & contrast

On white

3.91
#976BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#976BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BD4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BD4#FFFFFF#000000##000000
##976BD41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4980D8
Deuteranopia (green-blind)
#5580D1
Tritanopia (blue-blind)
#8B7E96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976bd4;
/* rgb */ color: rgb(151, 107, 212);
/* oklch */ color: oklch(61.8% 0.158 301.3);
Tailwind
colors: {
  custom: {
    50: '#b896e2',
    500: '#976bd4',
    950: '#000000',
  },
}
SCSS
$custom: #976bd4;
$custom-light: #b896e2;
$custom-dark: #000000;
JSON
{
  "hex": "#976bd4",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 265.143,
    "s": 54.974,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.15752,
    "h": 301.3
  },
  "luminance": 0.21848
}

Semantic roles & 50–950 ramp

primary
#976BD4
secondary
#D0E0BA
accent
#C22380
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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