#976FB7#976FB7

#976FB7 is a mid, moderate violet. Relative luminance 0.214; OKLCH L 61.0% C 0.114 H 308.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#976FB7
RGBrgb(151, 111, 183)
HSLhsl(273, 33%, 58%)
HSVhsv(273, 39%, 72%)
CMYKcmyk(17.5%, 39.3%, 0%, 28.2%)
CIE-LABlab(53.35, 29.73, -32.11)
CIE-LCHlch(53.35, 43.76, 312.80°)
OKLaboklab(60.98% 0.0717 -0.0889)
OKLCHoklch(60.98% 0.114 308.9)
XYZxyz(26.9926, 21.3674, 47.4929)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FB7 #8FB76F
analogous
#736FB7 #976FB7 #B76FB3
triadic
#976FB7 #B7976F #6FB797
tetradic
#976FB7 #B7736F #8FB76F #6FB3B7
square
#976FB7 #B7736F #8FB76F #6FB3B7
split-complementary
#976FB7 #B3B76F #6FB773
monochromatic
#593972 #794E9B #976FB7 #B498CB #D2C1E0

Accessibility & contrast

On white

3.98
#976FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#976FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FB7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FB7#FFFFFF#000000##000000
##976FB71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBA
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#937A8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976fb7;
/* rgb */ color: rgb(151, 111, 183);
/* oklch */ color: oklch(61.0% 0.114 308.9);
Tailwind
colors: {
  custom: {
    50: '#b799cd',
    500: '#976fb7',
    950: '#000000',
  },
}
SCSS
$custom: #976fb7;
$custom-light: #b799cd;
$custom-dark: #000000;
JSON
{
  "hex": "#976fb7",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 273.333,
    "s": 33.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.1142,
    "h": 308.9
  },
  "luminance": 0.21367
}

Semantic roles & 50–950 ramp

primary
#976FB7
secondary
#BFCFB2
accent
#C95E8E
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E13
muted
#807E82

Preview Lab

Preview with #976FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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