#976FBE#976FBE

#976FBE is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.3% C 0.123 H 306.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#976FBE
RGBrgb(151, 111, 190)
HSLhsl(270, 38%, 59%)
HSVhsv(270, 42%, 75%)
CMYKcmyk(20.5%, 41.6%, 0%, 25.5%)
CIE-LABlab(53.67, 31.35, -35.63)
CIE-LCHlch(53.67, 47.46, 311.34°)
OKLaboklab(61.33% 0.0731 -0.099)
OKLCHoklch(61.33% 0.123 306.4)
XYZxyz(27.7393, 21.6661, 51.4258)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FBE #96BE6F
analogous
#706FBE #976FBE #BE6FBE
triadic
#976FBE #BE976F #6FBE97
tetradic
#976FBE #BE706F #96BE6F #6FBEBE
square
#976FBE #BE706F #96BE6F #6FBEBE
split-complementary
#976FBE #BEBE6F #6FBE70
monochromatic
#5A387B #784BA5 #976FBE #B599D1 #D4C3E4

Accessibility & contrast

On white

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

On black

5.33
#976FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FBE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FBE#FFFFFF#000000##000000
##976FBE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC1
Deuteranopia (green-blind)
#6681BC
Tritanopia (blue-blind)
#917B8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976fbe;
/* rgb */ color: rgb(151, 111, 190);
/* oklch */ color: oklch(61.3% 0.123 306.4);
Tailwind
colors: {
  custom: {
    50: '#b799d2',
    500: '#976fbe',
    950: '#000000',
  },
}
SCSS
$custom: #976fbe;
$custom-light: #b799d2;
$custom-dark: #000000;
JSON
{
  "hex": "#976fbe",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 270.38,
    "s": 37.799,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61327,
    "c": 0.12309,
    "h": 306.4
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#976FBE
secondary
#C4D4B5
accent
#CE5A93
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #976FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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