#976FBD#976FBD

#976FBD is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.3% C 0.122 H 306.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#976FBD
RGBrgb(151, 111, 189)
HSLhsl(271, 37%, 59%)
HSVhsv(271, 41%, 74%)
CMYKcmyk(20.1%, 41.3%, 0%, 25.9%)
CIE-LABlab(53.62, 31.12, -35.13)
CIE-LCHlch(53.62, 46.93, 311.53°)
OKLaboklab(61.28% 0.0729 -0.0976)
OKLCHoklch(61.28% 0.122 306.8)
XYZxyz(27.6304, 21.6225, 50.8522)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FBD #95BD6F
analogous
#706FBD #976FBD #BD6FBC
triadic
#976FBD #BD976F #6FBD97
tetradic
#976FBD #BD706F #95BD6F #6FBCBD
square
#976FBD #BD706F #95BD6F #6FBCBD
split-complementary
#976FBD #BCBD6F #6FBD70
monochromatic
#5A387A #794BA4 #976FBD #B599D0 #D4C3E3

Accessibility & contrast

On white

3.94
#976FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#976FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FBD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FBD#FFFFFF#000000##000000
##976FBD1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC0
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#927B8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976fbd;
/* rgb */ color: rgb(151, 111, 189);
/* oklch */ color: oklch(61.3% 0.122 306.8);
Tailwind
colors: {
  custom: {
    50: '#b799d1',
    500: '#976fbd',
    950: '#000000',
  },
}
SCSS
$custom: #976fbd;
$custom-light: #b799d1;
$custom-dark: #000000;
JSON
{
  "hex": "#976fbd",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 270.769,
    "s": 37.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.12181,
    "h": 306.8
  },
  "luminance": 0.21622
}

Semantic roles & 50–950 ramp

primary
#976FBD
secondary
#C4D3B5
accent
#CD5B92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #976FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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