#976EC4#976EC4

#976EC4 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.5% C 0.132 H 304.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#976EC4
RGBrgb(151, 110, 196)
HSLhsl(269, 42%, 60%)
HSVhsv(269, 44%, 77%)
CMYKcmyk(23%, 43.9%, 0%, 23.1%)
CIE-LABlab(53.73, 33.34, -38.98)
CIE-LCHlch(53.73, 51.29, 310.54°)
OKLaboklab(61.46% 0.0756 -0.1087)
OKLCHoklch(61.46% 0.132 304.8)
XYZxyz(28.3002, 21.7168, 54.9147)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EC4 #9BC46E
analogous
#6E70C4 #976EC4 #C26EC4
triadic
#976EC4 #C4976E #6EC497
tetradic
#976EC4 #C46E70 #9BC46E #6EC4C2
square
#976EC4 #C46E70 #9BC46E #6EC4C2
split-complementary
#976EC4 #C4C26E #70C46E
monochromatic
#5A3583 #7847AE #976EC4 #B699D6 #D5C5E7

Accessibility & contrast

On white

3.93
#976EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#976EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EC4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EC4#FFFFFF#000000##000000
##976EC41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#6281C2
Tritanopia (blue-blind)
#907C90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976ec4;
/* rgb */ color: rgb(151, 110, 196);
/* oklch */ color: oklch(61.5% 0.132 304.8);
Tailwind
colors: {
  custom: {
    50: '#b798d6',
    500: '#976ec4',
    950: '#000000',
  },
}
SCSS
$custom: #976ec4;
$custom-light: #b798d6;
$custom-dark: #000000;
JSON
{
  "hex": "#976ec4",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 196
  },
  "hsl": {
    "h": 268.605,
    "s": 42.157,
    "l": 60
  },
  "oklch": {
    "l": 0.61461,
    "c": 0.13243,
    "h": 304.8
  },
  "luminance": 0.21717
}

Semantic roles & 50–950 ramp

primary
#976EC4
secondary
#C8D7B6
accent
#D25697
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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