#976BCF#976BCF

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

Color values

HEX#976BCF
RGBrgb(151, 107, 207)
HSLhsl(266, 51%, 62%)
HSVhsv(266, 48%, 81%)
CMYKcmyk(27.1%, 48.3%, 0%, 18.8%)
CIE-LABlab(53.60, 37.69, -45.45)
CIE-LCHlch(53.60, 59.05, 309.66°)
OKLaboklab(61.55% 0.0813 -0.1276)
OKLCHoklch(61.55% 0.151 302.5)
XYZxyz(29.2802, 21.5997, 61.6460)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BCF #A3CF6B
analogous
#6B71CF #976BCF #C96BCF
triadic
#976BCF #CF976B #6BCF97
tetradic
#976BCF #CF6B71 #A3CF6B #6BCFC9
square
#976BCF #CF6B71 #A3CF6B #6BCFC9
split-complementary
#976BCF #CFC96B #71CF6B
monochromatic
#5A2F91 #773EBF #976BCF #B799DE #D8C7ED

Accessibility & contrast

On white

3.95
#976BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##976BCF#FFFFFF#000000##000000
##976BCF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD3
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#8D7D93
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976bcf;
/* rgb */ color: rgb(151, 107, 207);
/* oklch */ color: oklch(61.5% 0.151 302.5);
Tailwind
colors: {
  custom: {
    50: '#b896de',
    500: '#976bcf',
    950: '#000000',
  },
}
SCSS
$custom: #976bcf;
$custom-light: #b896de;
$custom-dark: #000000;
JSON
{
  "hex": "#976bcf",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 266.4,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.15126,
    "h": 302.5
  },
  "luminance": 0.216
}

Semantic roles & 50–950 ramp

primary
#976BCF
secondary
#CDDEB8
accent
#BE277C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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