#976FBC#976FBC

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

Color values

HEX#976FBC
RGBrgb(151, 111, 188)
HSLhsl(271, 36%, 59%)
HSVhsv(271, 41%, 74%)
CMYKcmyk(19.7%, 41%, 0%, 26.3%)
CIE-LABlab(53.58, 30.89, -34.63)
CIE-LCHlch(53.58, 46.40, 311.73°)
OKLaboklab(61.23% 0.0727 -0.0962)
OKLCHoklch(61.23% 0.121 307.1)
XYZxyz(27.5223, 21.5793, 50.2825)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FBC #94BC6F
analogous
#706FBC #976FBC #BC6FBA
triadic
#976FBC #BC976F #6FBC97
tetradic
#976FBC #BC706F #94BC6F #6FBABC
square
#976FBC #BC706F #94BC6F #6FBABC
split-complementary
#976FBC #BABC6F #6FBC70
monochromatic
#5A3879 #794CA2 #976FBC #B599CF #D3C3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976FBC#FFFFFF#000000##000000
##976FBC1.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)
#5E7EBF
Deuteranopia (green-blind)
#6780BA
Tritanopia (blue-blind)
#927B8C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976fbc;
/* rgb */ color: rgb(151, 111, 188);
/* oklch */ color: oklch(61.2% 0.121 307.1);
Tailwind
colors: {
  custom: {
    50: '#b799d0',
    500: '#976fbc',
    950: '#000000',
  },
}
SCSS
$custom: #976fbc;
$custom-light: #b799d0;
$custom-dark: #000000;
JSON
{
  "hex": "#976fbc",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 271.169,
    "s": 36.493,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61226,
    "c": 0.12055,
    "h": 307.1
  },
  "luminance": 0.21579
}

Semantic roles & 50–950 ramp

primary
#976FBC
secondary
#C3D3B4
accent
#CC5B92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #976FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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