#976FB5#976FB5

#976FB5 is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.9% C 0.112 H 309.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#976FB5
RGBrgb(151, 111, 181)
HSLhsl(274, 32%, 57%)
HSVhsv(274, 39%, 71%)
CMYKcmyk(16.6%, 38.7%, 0%, 29%)
CIE-LABlab(53.26, 29.28, -31.10)
CIE-LCHlch(53.26, 42.71, 313.28°)
OKLaboklab(60.88% 0.0712 -0.086)
OKLCHoklch(60.88% 0.112 309.6)
XYZxyz(26.7859, 21.2847, 46.4044)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FB5 #8DB56F
analogous
#746FB5 #976FB5 #B56FB0
triadic
#976FB5 #B5976F #6FB597
tetradic
#976FB5 #B5746F #8DB56F #6FB0B5
square
#976FB5 #B5746F #8DB56F #6FB0B5
split-complementary
#976FB5 #B0B56F #6FB574
monochromatic
#593A70 #794E98 #976FB5 #B497CA #D1C0DF

Accessibility & contrast

On white

3.99
#976FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#976FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FB5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FB5#FFFFFF#000000##000000
##976FB51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB8
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#937989
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976fb5;
/* rgb */ color: rgb(151, 111, 181);
/* oklch */ color: oklch(60.9% 0.112 309.6);
Tailwind
colors: {
  custom: {
    50: '#b799cb',
    500: '#976fb5',
    950: '#000000',
  },
}
SCSS
$custom: #976fb5;
$custom-light: #b799cb;
$custom-dark: #000000;
JSON
{
  "hex": "#976fb5",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 181
  },
  "hsl": {
    "h": 274.286,
    "s": 32.11,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.11167,
    "h": 309.6
  },
  "luminance": 0.21284
}

Semantic roles & 50–950 ramp

primary
#976FB5
secondary
#BECEB2
accent
#C8608C
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #976FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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