#976CAF#976CAF

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

Color values

HEX#976CAF
RGBrgb(151, 108, 175)
HSLhsl(279, 30%, 55%)
HSVhsv(279, 38%, 69%)
CMYKcmyk(13.7%, 38.3%, 0%, 31.4%)
CIE-LABlab(52.29, 29.66, -29.14)
CIE-LCHlch(52.29, 41.58, 315.51°)
OKLaboklab(60.06% 0.0744 -0.0804)
OKLCHoklch(60.06% 0.11 312.8)
XYZxyz(25.8616, 20.4000, 43.1244)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CAF #84AF6C
analogous
#756CAF #976CAF #AF6CA5
triadic
#976CAF #AF976C #6CAF97
tetradic
#976CAF #AF756C #84AF6C #6CA5AF
square
#976CAF #AF756C #84AF6C #6CA5AF
split-complementary
#976CAF #A5AF6C #6CAF75
monochromatic
#573968 #784E90 #976CAF #B394C5 #CFBBDA

Accessibility & contrast

On white

4.13
#976CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##976CAF#FFFFFF#000000##000000
##976CAF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607AB2
Deuteranopia (green-blind)
#6A7EAD
Tritanopia (blue-blind)
#957585
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976caf;
/* rgb */ color: rgb(151, 108, 175);
/* oklch */ color: oklch(60.1% 0.110 312.8);
Tailwind
colors: {
  custom: {
    50: '#b697c7',
    500: '#976caf',
    950: '#000000',
  },
}
SCSS
$custom: #976caf;
$custom-light: #b697c7;
$custom-dark: #000000;
JSON
{
  "hex": "#976caf",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 175
  },
  "hsl": {
    "h": 278.507,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.10953,
    "h": 312.8
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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