#976ECD#976ECD

#976ECD is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.9% C 0.144 H 302.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#976ECD
RGBrgb(151, 110, 205)
HSLhsl(266, 49%, 62%)
HSVhsv(266, 46%, 80%)
CMYKcmyk(26.3%, 46.3%, 0%, 19.6%)
CIE-LABlab(54.17, 35.50, -43.41)
CIE-LCHlch(54.17, 56.08, 309.28°)
OKLaboklab(61.94% 0.0769 -0.1216)
OKLCHoklch(61.94% 0.144 302.3)
XYZxyz(29.3554, 22.1389, 60.4725)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976ECD #A4CD6E
analogous
#6E75CD #976ECD #C76ECD
triadic
#976ECD #CD976E #6ECD97
tetradic
#976ECD #CD6E75 #A4CD6E #6ECDC7
square
#976ECD #CD6E75 #A4CD6E #6ECDC7
split-complementary
#976ECD #CDC76E #75CD6E
monochromatic
#5A318F #7641BD #976ECD #B89CDD #D8C9EC

Accessibility & contrast

On white

3.87
#976ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#976ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976ECD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976ECD#FFFFFF#000000##000000
##976ECD1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#5D81CB
Tritanopia (blue-blind)
#8D7F94
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #976ecd;
/* rgb */ color: rgb(151, 110, 205);
/* oklch */ color: oklch(61.9% 0.144 302.3);
Tailwind
colors: {
  custom: {
    50: '#b898dd',
    500: '#976ecd',
    950: '#000000',
  },
}
SCSS
$custom: #976ecd;
$custom-light: #b898dd;
$custom-dark: #000000;
JSON
{
  "hex": "#976ecd",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 265.895,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.14389,
    "h": 302.3
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#976ECD
secondary
#CEDDBA
accent
#BC297D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #976ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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