#976CD4#976CD4

#976CD4 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 62.0% C 0.156 H 301.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#976CD4
RGBrgb(151, 108, 212)
HSLhsl(265, 55%, 63%)
HSVhsv(265, 49%, 83%)
CMYKcmyk(28.8%, 49.1%, 0%, 16.9%)
CIE-LABlab(54.09, 38.35, -47.52)
CIE-LCHlch(54.09, 61.06, 308.91°)
OKLaboklab(62% 0.0805 -0.1336)
OKLCHoklch(62% 0.156 301.1)
XYZxyz(30.0060, 22.0578, 64.9514)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CD4 #A9D46C
analogous
#6C75D4 #976CD4 #CB6CD4
triadic
#976CD4 #D4976C #6CD497
tetradic
#976CD4 #D46C75 #A9D46C #6CD4CB
square
#976CD4 #D46C75 #A9D46C #6CD4CB
split-complementary
#976CD4 #D4CB6C #75D46C
monochromatic
#592D99 #763DC6 #976CD4 #B89BE2 #DACBF0

Accessibility & contrast

On white

3.88
#976CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#976CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CD4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CD4#FFFFFF#000000##000000
##976CD41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D8
Deuteranopia (green-blind)
#5681D1
Tritanopia (blue-blind)
#8B7F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976cd4;
/* rgb */ color: rgb(151, 108, 212);
/* oklch */ color: oklch(62.0% 0.156 301.1);
Tailwind
colors: {
  custom: {
    50: '#b897e2',
    500: '#976cd4',
    950: '#000000',
  },
}
SCSS
$custom: #976cd4;
$custom-light: #b897e2;
$custom-dark: #000000;
JSON
{
  "hex": "#976cd4",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 264.808,
    "s": 54.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.15595,
    "h": 301.1
  },
  "luminance": 0.22058
}

Semantic roles & 50–950 ramp

primary
#976CD4
secondary
#D1E1BB
accent
#C22381
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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