#976BAF#976BAF

#976BAF is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.9% C 0.111 H 313.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#976BAF
RGBrgb(151, 107, 175)
HSLhsl(279, 30%, 55%)
HSVhsv(279, 39%, 69%)
CMYKcmyk(13.7%, 38.9%, 0%, 31.4%)
CIE-LABlab(52.05, 30.23, -29.51)
CIE-LCHlch(52.05, 42.25, 315.70°)
OKLaboklab(59.88% 0.0759 -0.0814)
OKLCHoklch(59.88% 0.111 313)
XYZxyz(25.7568, 20.1903, 43.0894)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BAF #83AF6B
analogous
#756BAF #976BAF #AF6BA5
triadic
#976BAF #AF976B #6BAF97
tetradic
#976BAF #AF756B #83AF6B #6BA5AF
square
#976BAF #AF756B #83AF6B #6BA5AF
split-complementary
#976BAF #A5AF6B #6BAF75
monochromatic
#573868 #784D8F #976BAF #B393C4 #CFBADA

Accessibility & contrast

On white

4.17
#976BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#976BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BAF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BAF#FFFFFF#000000##000000
##976BAF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB2
Deuteranopia (green-blind)
#697DAD
Tritanopia (blue-blind)
#957485
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #976baf;
/* rgb */ color: rgb(151, 107, 175);
/* oklch */ color: oklch(59.9% 0.111 313.0);
Tailwind
colors: {
  custom: {
    50: '#b696c7',
    500: '#976baf',
    950: '#000000',
  },
}
SCSS
$custom: #976baf;
$custom-light: #b696c7;
$custom-dark: #000000;
JSON
{
  "hex": "#976baf",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 278.824,
    "s": 29.825,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.11132,
    "h": 313
  },
  "luminance": 0.2019
}

Semantic roles & 50–950 ramp

primary
#976BAF
secondary
#B7C9AD
accent
#C66285
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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