#976CD3#976CD3

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

Color values

HEX#976CD3
RGBrgb(151, 108, 211)
HSLhsl(265, 54%, 63%)
HSVhsv(265, 49%, 83%)
CMYKcmyk(28.4%, 48.8%, 0%, 17.3%)
CIE-LABlab(54.03, 38.10, -47.04)
CIE-LCHlch(54.03, 60.53, 309.01°)
OKLaboklab(61.94% 0.0804 -0.1322)
OKLCHoklch(61.94% 0.155 301.3)
XYZxyz(29.8802, 22.0075, 64.2891)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CD3 #A8D36C
analogous
#6C74D3 #976CD3 #CB6CD3
triadic
#976CD3 #D3976C #6CD397
tetradic
#976CD3 #D36C74 #A8D36C #6CD3CB
square
#976CD3 #D36C74 #A8D36C #6CD3CB
split-complementary
#976CD3 #D3CB6C #74D36C
monochromatic
#5A2D97 #763DC5 #976CD3 #B89BE1 #DACAEF

Accessibility & contrast

On white

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

On black

5.40
#976CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CD3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CD3#FFFFFF#000000##000000
##976CD31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D7
Deuteranopia (green-blind)
#5781D0
Tritanopia (blue-blind)
#8C7F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976cd3;
/* rgb */ color: rgb(151, 108, 211);
/* oklch */ color: oklch(61.9% 0.155 301.3);
Tailwind
colors: {
  custom: {
    50: '#b897e1',
    500: '#976cd3',
    950: '#000000',
  },
}
SCSS
$custom: #976cd3;
$custom-light: #b897e1;
$custom-dark: #000000;
JSON
{
  "hex": "#976cd3",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 265.049,
    "s": 53.927,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.15469,
    "h": 301.3
  },
  "luminance": 0.22008
}

Semantic roles & 50–950 ramp

primary
#976CD3
secondary
#D0E0BB
accent
#C12480
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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