#976DCD#976DCD

#976DCD is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.8% C 0.146 H 302.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#976DCD
RGBrgb(151, 109, 205)
HSLhsl(266, 49%, 62%)
HSVhsv(266, 47%, 80%)
CMYKcmyk(26.3%, 46.8%, 0%, 19.6%)
CIE-LABlab(53.95, 36.07, -43.77)
CIE-LCHlch(53.95, 56.72, 309.49°)
OKLaboklab(61.77% 0.0783 -0.1226)
OKLCHoklch(61.77% 0.146 302.6)
XYZxyz(29.2481, 21.9244, 60.4367)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DCD #A3CD6D
analogous
#6D73CD #976DCD #C76DCD
triadic
#976DCD #CD976D #6DCD97
tetradic
#976DCD #CD6D73 #A3CD6D #6DCDC7
square
#976DCD #CD6D73 #A3CD6D #6DCDC7
split-complementary
#976DCD #CDC76D #73CD6D
monochromatic
#5A318F #7740BC #976DCD #B79BDD #D8C8EC

Accessibility & contrast

On white

3.90
#976DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#976DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DCD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DCD#FFFFFF#000000##000000
##976DCD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#8D7E93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976dcd;
/* rgb */ color: rgb(151, 109, 205);
/* oklch */ color: oklch(61.8% 0.146 302.6);
Tailwind
colors: {
  custom: {
    50: '#b898dd',
    500: '#976dcd',
    950: '#000000',
  },
}
SCSS
$custom: #976dcd;
$custom-light: #b898dd;
$custom-dark: #000000;
JSON
{
  "hex": "#976dcd",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 266.25,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.14551,
    "h": 302.6
  },
  "luminance": 0.21924
}

Semantic roles & 50–950 ramp

primary
#976DCD
secondary
#CDDDB9
accent
#BC297C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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