#976DC9#976DC9

#976DC9 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.6% C 0.140 H 303.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#976DC9
RGBrgb(151, 109, 201)
HSLhsl(267, 46%, 61%)
HSVhsv(267, 46%, 79%)
CMYKcmyk(24.9%, 45.8%, 0%, 21.2%)
CIE-LABlab(53.74, 35.10, -41.81)
CIE-LCHlch(53.74, 54.59, 310.02°)
OKLaboklab(61.56% 0.0778 -0.117)
OKLCHoklch(61.56% 0.14 303.6)
XYZxyz(28.7715, 21.7337, 57.9263)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DC9 #9FC96D
analogous
#6D71C9 #976DC9 #C56DC9
triadic
#976DC9 #C9976D #6DC997
tetradic
#976DC9 #C96D71 #9FC96D #6DC9C5
square
#976DC9 #C96D71 #9FC96D #6DC9C5
split-complementary
#976DC9 #C9C56D #71C96D
monochromatic
#5A3389 #7743B6 #976DC9 #B79ADA #D7C6EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976DC9#FFFFFF#000000##000000
##976DC91.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCC
Deuteranopia (green-blind)
#5E80C7
Tritanopia (blue-blind)
#8E7D91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976dc9;
/* rgb */ color: rgb(151, 109, 201);
/* oklch */ color: oklch(61.6% 0.140 303.6);
Tailwind
colors: {
  custom: {
    50: '#b797da',
    500: '#976dc9',
    950: '#000000',
  },
}
SCSS
$custom: #976dc9;
$custom-light: #b797da;
$custom-dark: #000000;
JSON
{
  "hex": "#976dc9",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 201
  },
  "hsl": {
    "h": 267.391,
    "s": 46,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.14044,
    "h": 303.6
  },
  "luminance": 0.21734
}

Semantic roles & 50–950 ramp

primary
#976DC9
secondary
#CADAB7
accent
#B92C79
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D15
muted
#807E83

Preview Lab

Preview with #976DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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