#976EB7#976EB7

#976EB7 is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.8% C 0.116 H 309.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#976EB7
RGBrgb(151, 110, 183)
HSLhsl(274, 34%, 57%)
HSVhsv(274, 40%, 72%)
CMYKcmyk(17.5%, 39.9%, 0%, 28.2%)
CIE-LABlab(53.11, 30.31, -32.48)
CIE-LCHlch(53.11, 44.42, 313.02°)
OKLaboklab(60.8% 0.0732 -0.0899)
OKLCHoklch(60.8% 0.116 309.1)
XYZxyz(26.8841, 21.1504, 47.4567)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EB7 #8EB76E
analogous
#736EB7 #976EB7 #B76EB3
triadic
#976EB7 #B7976E #6EB797
tetradic
#976EB7 #B7736E #8EB76E #6EB3B7
square
#976EB7 #B7736E #8EB76E #6EB3B7
split-complementary
#976EB7 #B3B76E #6EB773
monochromatic
#593972 #794D9B #976EB7 #B497CB #D2C0E0

Accessibility & contrast

On white

4.02
#976EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#976EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EB7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EB7#FFFFFF#000000##000000
##976EB71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#697FB5
Tritanopia (blue-blind)
#93798A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976eb7;
/* rgb */ color: rgb(151, 110, 183);
/* oklch */ color: oklch(60.8% 0.116 309.1);
Tailwind
colors: {
  custom: {
    50: '#b798cd',
    500: '#976eb7',
    950: '#000000',
  },
}
SCSS
$custom: #976eb7;
$custom-light: #b798cd;
$custom-dark: #000000;
JSON
{
  "hex": "#976eb7",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 273.699,
    "s": 33.641,
    "l": 57.451
  },
  "oklch": {
    "l": 0.608,
    "c": 0.11595,
    "h": 309.1
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#976EB7
secondary
#BFCFB2
accent
#CA5E8D
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #976EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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