#976EC5#976EC5

#976EC5 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.5% C 0.134 H 304.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#976EC5
RGBrgb(151, 110, 197)
HSLhsl(268, 43%, 60%)
HSVhsv(268, 44%, 77%)
CMYKcmyk(23.4%, 44.2%, 0%, 22.7%)
CIE-LABlab(53.77, 33.58, -39.48)
CIE-LCHlch(53.77, 51.82, 310.38°)
OKLaboklab(61.51% 0.0757 -0.1102)
OKLCHoklch(61.51% 0.134 304.5)
XYZxyz(28.4144, 21.7625, 55.5162)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EC5 #9CC56E
analogous
#6E70C5 #976EC5 #C26EC5
triadic
#976EC5 #C5976E #6EC597
tetradic
#976EC5 #C56E70 #9CC56E #6EC5C2
square
#976EC5 #C56E70 #9CC56E #6EC5C2
split-complementary
#976EC5 #C5C26E #70C56E
monochromatic
#5A3584 #7846B0 #976EC5 #B69AD6 #D6C5E8

Accessibility & contrast

On white

3.92
#976EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#976EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EC5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EC5#FFFFFF#000000##000000
##976EC51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC8
Deuteranopia (green-blind)
#6181C3
Tritanopia (blue-blind)
#8F7C90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976ec5;
/* rgb */ color: rgb(151, 110, 197);
/* oklch */ color: oklch(61.5% 0.134 304.5);
Tailwind
colors: {
  custom: {
    50: '#b798d7',
    500: '#976ec5',
    950: '#000000',
  },
}
SCSS
$custom: #976ec5;
$custom-light: #b798d7;
$custom-dark: #000000;
JSON
{
  "hex": "#976ec5",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 268.276,
    "s": 42.857,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61514,
    "c": 0.1337,
    "h": 304.5
  },
  "luminance": 0.21762
}

Semantic roles & 50–950 ramp

primary
#976EC5
secondary
#C8D8B7
accent
#B63077
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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