#976BB4#976BB4

#976BB4 is a mid, moderate violet. Relative luminance 0.204; OKLCH L 60.1% C 0.117 H 311.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#976BB4
RGBrgb(151, 107, 180)
HSLhsl(276, 33%, 56%)
HSVhsv(276, 41%, 71%)
CMYKcmyk(16.1%, 40.6%, 0%, 29.4%)
CIE-LABlab(52.28, 31.35, -32.05)
CIE-LCHlch(52.28, 44.83, 314.36°)
OKLaboklab(60.12% 0.077 -0.0887)
OKLCHoklch(60.12% 0.117 311)
XYZxyz(26.2570, 20.3904, 45.7237)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BB4 #88B46B
analogous
#736BB4 #976BB4 #B46BAD
triadic
#976BB4 #B4976B #6BB497
tetradic
#976BB4 #B4736B #88B46B #6BADB4
square
#976BB4 #B4736B #88B46B #6BADB4
split-complementary
#976BB4 #ADB46B #6BB473
monochromatic
#58376D #784C96 #976BB4 #B494C9 #D0BCDD

Accessibility & contrast

On white

4.14
#976BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#976BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BB4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BB4#FFFFFF#000000##000000
##976BB41.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB7
Deuteranopia (green-blind)
#677EB2
Tritanopia (blue-blind)
#947687
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976bb4;
/* rgb */ color: rgb(151, 107, 180);
/* oklch */ color: oklch(60.1% 0.117 311.0);
Tailwind
colors: {
  custom: {
    50: '#b796ca',
    500: '#976bb4',
    950: '#000000',
  },
}
SCSS
$custom: #976bb4;
$custom-light: #b796ca;
$custom-dark: #000000;
JSON
{
  "hex": "#976bb4",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 276.164,
    "s": 32.735,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.11747,
    "h": 311
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#976BB4
secondary
#BACCAE
accent
#C95F89
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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