#976CD2#976CD2

#976CD2 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.153 H 301.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#976CD2
RGBrgb(151, 108, 210)
HSLhsl(265, 53%, 62%)
HSVhsv(265, 49%, 82%)
CMYKcmyk(28.1%, 48.6%, 0%, 17.6%)
CIE-LABlab(53.98, 37.86, -46.55)
CIE-LCHlch(53.98, 60.00, 309.12°)
OKLaboklab(61.89% 0.0803 -0.1308)
OKLCHoklch(61.89% 0.153 301.5)
XYZxyz(29.7553, 21.9575, 63.6309)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CD2 #A7D26C
analogous
#6C74D2 #976CD2 #CA6CD2
triadic
#976CD2 #D2976C #6CD297
tetradic
#976CD2 #D26C74 #A7D26C #6CD2CA
square
#976CD2 #D26C74 #A7D26C #6CD2CA
split-complementary
#976CD2 #D2CA6C #74D26C
monochromatic
#5A2E96 #763DC4 #976CD2 #B89BE0 #D9CAEF

Accessibility & contrast

On white

3.89
#976CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#976CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CD2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CD2#FFFFFF#000000##000000
##976CD21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D6
Deuteranopia (green-blind)
#5781CF
Tritanopia (blue-blind)
#8C7F95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976cd2;
/* rgb */ color: rgb(151, 108, 210);
/* oklch */ color: oklch(61.9% 0.153 301.5);
Tailwind
colors: {
  custom: {
    50: '#b897e0',
    500: '#976cd2',
    950: '#000000',
  },
}
SCSS
$custom: #976cd2;
$custom-light: #b897e0;
$custom-dark: #000000;
JSON
{
  "hex": "#976cd2",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 265.294,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.15343,
    "h": 301.5
  },
  "luminance": 0.21958
}

Semantic roles & 50–950 ramp

primary
#976CD2
secondary
#D0E0BA
accent
#C1257F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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