#976EB3#976EB3

#976EB3 is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.6% C 0.111 H 310.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#976EB3
RGBrgb(151, 110, 179)
HSLhsl(276, 31%, 57%)
HSVhsv(276, 39%, 70%)
CMYKcmyk(15.6%, 38.5%, 0%, 29.8%)
CIE-LABlab(52.93, 29.40, -30.45)
CIE-LCHlch(52.93, 42.33, 314.00°)
OKLaboklab(60.61% 0.0723 -0.0841)
OKLCHoklch(60.61% 0.111 310.7)
XYZxyz(26.4737, 20.9862, 45.2952)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EB3 #8AB36E
analogous
#756EB3 #976EB3 #B36EAD
triadic
#976EB3 #B3976E #6EB397
tetradic
#976EB3 #B3756E #8AB36E #6EADB3
square
#976EB3 #B3756E #8AB36E #6EADB3
split-complementary
#976EB3 #ADB36E #6EB375
monochromatic
#58396D #794E95 #976EB3 #B496C8 #D1BEDD

Accessibility & contrast

On white

4.04
#976EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#976EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EB3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EB3#FFFFFF#000000##000000
##976EB31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB6
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#947888
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976eb3;
/* rgb */ color: rgb(151, 110, 179);
/* oklch */ color: oklch(60.6% 0.111 310.7);
Tailwind
colors: {
  custom: {
    50: '#b698ca',
    500: '#976eb3',
    950: '#000000',
  },
}
SCSS
$custom: #976eb3;
$custom-light: #b698ca;
$custom-dark: #000000;
JSON
{
  "hex": "#976eb3",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 179
  },
  "hsl": {
    "h": 275.652,
    "s": 31.222,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60606,
    "c": 0.11093,
    "h": 310.7
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#976EB3
secondary
#BCCDB0
accent
#C7608A
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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