#976BD3#976BD3

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

Color values

HEX#976BD3
RGBrgb(151, 107, 211)
HSLhsl(265, 54%, 62%)
HSVhsv(265, 49%, 83%)
CMYKcmyk(28.4%, 49.3%, 0%, 17.3%)
CIE-LABlab(53.81, 38.67, -47.39)
CIE-LCHlch(53.81, 61.16, 309.21°)
OKLaboklab(61.78% 0.0817 -0.1332)
OKLCHoklch(61.78% 0.156 301.5)
XYZxyz(29.7754, 21.7978, 64.2541)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BD3 #A7D36B
analogous
#6B73D3 #976BD3 #CB6BD3
triadic
#976BD3 #D3976B #6BD397
tetradic
#976BD3 #D36B73 #A7D36B #6BD3CB
square
#976BD3 #D36B73 #A7D36B #6BD3CB
split-complementary
#976BD3 #D3CB6B #73D36B
monochromatic
#5A2D97 #763CC5 #976BD3 #B89AE1 #D9C9EF

Accessibility & contrast

On white

3.92
#976BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#976BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BD3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BD3#FFFFFF#000000##000000
##976BD31.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A80D7
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#8C7E95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976bd3;
/* rgb */ color: rgb(151, 107, 211);
/* oklch */ color: oklch(61.8% 0.156 301.5);
Tailwind
colors: {
  custom: {
    50: '#b896e1',
    500: '#976bd3',
    950: '#000000',
  },
}
SCSS
$custom: #976bd3;
$custom-light: #b896e1;
$custom-dark: #000000;
JSON
{
  "hex": "#976bd3",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 211
  },
  "hsl": {
    "h": 265.385,
    "s": 54.167,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.15628,
    "h": 301.5
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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