#976FC2#976FC2

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

Color values

HEX#976FC2
RGBrgb(151, 111, 194)
HSLhsl(269, 40%, 60%)
HSVhsv(269, 43%, 76%)
CMYKcmyk(22.2%, 42.8%, 0%, 23.9%)
CIE-LABlab(53.86, 32.29, -37.63)
CIE-LCHlch(53.86, 49.58, 310.64°)
OKLaboklab(61.53% 0.0738 -0.1048)
OKLCHoklch(61.53% 0.128 305.2)
XYZxyz(28.1825, 21.8434, 53.7600)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FC2 #9AC26F
analogous
#6F70C2 #976FC2 #C16FC2
triadic
#976FC2 #C2976F #6FC297
tetradic
#976FC2 #C26F70 #9AC26F #6FC2C1
square
#976FC2 #C26F70 #9AC26F #6FC2C1
split-complementary
#976FC2 #C2C16F #70C26F
monochromatic
#5A3680 #7849AB #976FC2 #B69AD4 #D5C5E6

Accessibility & contrast

On white

3.91
#976FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#976FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FC2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FC2#FFFFFF#000000##000000
##976FC21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7FC5
Deuteranopia (green-blind)
#6481C0
Tritanopia (blue-blind)
#907D8F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976fc2;
/* rgb */ color: rgb(151, 111, 194);
/* oklch */ color: oklch(61.5% 0.128 305.2);
Tailwind
colors: {
  custom: {
    50: '#b799d5',
    500: '#976fc2',
    950: '#000000',
  },
}
SCSS
$custom: #976fc2;
$custom-light: #b799d5;
$custom-dark: #000000;
JSON
{
  "hex": "#976fc2",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 268.916,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.1282,
    "h": 305.2
  },
  "luminance": 0.21843
}

Semantic roles & 50–950 ramp

primary
#976FC2
secondary
#C7D6B6
accent
#D05796
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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