#976BB3#976BB3

#976BB3 is a mid, moderate violet. Relative luminance 0.203; OKLCH L 60.1% C 0.116 H 311.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#976BB3
RGBrgb(151, 107, 179)
HSLhsl(277, 32%, 56%)
HSVhsv(277, 40%, 70%)
CMYKcmyk(15.6%, 40.2%, 0%, 29.8%)
CIE-LABlab(52.23, 31.12, -31.55)
CIE-LCHlch(52.23, 44.31, 314.62°)
OKLaboklab(60.07% 0.0768 -0.0872)
OKLCHoklch(60.07% 0.116 311.4)
XYZxyz(26.1555, 20.3498, 45.1891)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BB3 #87B36B
analogous
#736BB3 #976BB3 #B36BAB
triadic
#976BB3 #B3976B #6BB397
tetradic
#976BB3 #B3736B #87B36B #6BABB3
square
#976BB3 #B3736B #87B36B #6BABB3
split-complementary
#976BB3 #ABB36B #6BB373
monochromatic
#58386C #784C95 #976BB3 #B393C8 #D0BCDD

Accessibility & contrast

On white

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

On black

5.07
#976BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BB3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BB3#FFFFFF#000000##000000
##976BB31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB6
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#947586
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976bb3;
/* rgb */ color: rgb(151, 107, 179);
/* oklch */ color: oklch(60.1% 0.116 311.4);
Tailwind
colors: {
  custom: {
    50: '#b796ca',
    500: '#976bb3',
    950: '#000000',
  },
}
SCSS
$custom: #976bb3;
$custom-light: #b796ca;
$custom-dark: #000000;
JSON
{
  "hex": "#976bb3",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 276.667,
    "s": 32.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60074,
    "c": 0.11624,
    "h": 311.4
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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