#976BC8#976BC8

#976BC8 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.2% C 0.142 H 304.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#976BC8
RGBrgb(151, 107, 200)
HSLhsl(268, 46%, 60%)
HSVhsv(268, 47%, 78%)
CMYKcmyk(24.5%, 46.5%, 0%, 21.6%)
CIE-LABlab(53.24, 36.00, -42.04)
CIE-LCHlch(53.24, 55.34, 310.58°)
OKLaboklab(61.16% 0.0804 -0.1176)
OKLCHoklch(61.16% 0.142 304.4)
XYZxyz(28.4433, 21.2649, 57.2385)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BC8 #9CC86B
analogous
#6B6DC8 #976BC8 #C56BC8
triadic
#976BC8 #C8976B #6BC897
tetradic
#976BC8 #C86B6D #9CC86B #6BC8C5
square
#976BC8 #C86B6D #9CC86B #6BC8C5
split-complementary
#976BC8 #C8C56B #6DC86B
monochromatic
#5A3287 #7843B3 #976BC8 #B698D9 #D6C4E9

Accessibility & contrast

On white

4.00
#976BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#976BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BC8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BC8#FFFFFF#000000##000000
##976BC81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#5D7FC6
Tritanopia (blue-blind)
#8F7B90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976bc8;
/* rgb */ color: rgb(151, 107, 200);
/* oklch */ color: oklch(61.2% 0.142 304.4);
Tailwind
colors: {
  custom: {
    50: '#b896d9',
    500: '#976bc8',
    950: '#000000',
  },
}
SCSS
$custom: #976bc8;
$custom-light: #b896d9;
$custom-dark: #000000;
JSON
{
  "hex": "#976bc8",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 200
  },
  "hsl": {
    "h": 268.387,
    "s": 45.813,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.14246,
    "h": 304.4
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#976BC8
secondary
#C8D9B6
accent
#B92C77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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