#976DDD#976DDD

#976DDD is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.7% C 0.166 H 298.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#976DDD
RGBrgb(151, 109, 221)
HSLhsl(263, 62%, 65%)
HSVhsv(263, 51%, 87%)
CMYKcmyk(31.7%, 50.7%, 0%, 13.3%)
CIE-LABlab(54.80, 40.03, -51.47)
CIE-LCHlch(54.80, 65.21, 307.87°)
OKLaboklab(62.69% 0.08 -0.1451)
OKLCHoklch(62.69% 0.166 298.8)
XYZxyz(31.2791, 22.7368, 71.1333)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DDD #B3DD6D
analogous
#6D7BDD #976DDD #CF6DDD
triadic
#976DDD #DD976D #6DDD97
tetradic
#976DDD #DD6D7B #B3DD6D #6DDDCF
square
#976DDD #DD6D7B #B3DD6D #6DDDCF
split-complementary
#976DDD #DDCF6D #7BDD6D
monochromatic
#5827A8 #743BD1 #976DDD #BA9FE9 #DED0F4

Accessibility & contrast

On white

3.79
#976DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#976DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DDD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DDD#FFFFFF#000000##000000
##976DDD1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#88829B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976ddd;
/* rgb */ color: rgb(151, 109, 221);
/* oklch */ color: oklch(62.7% 0.166 298.8);
Tailwind
colors: {
  custom: {
    50: '#b998e8',
    500: '#976ddd',
    950: '#000000',
  },
}
SCSS
$custom: #976ddd;
$custom-light: #b998e8;
$custom-dark: #000000;
JSON
{
  "hex": "#976ddd",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 262.5,
    "s": 62.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62688,
    "c": 0.16572,
    "h": 298.8
  },
  "luminance": 0.22737
}

Semantic roles & 50–950 ramp

primary
#976DDD
secondary
#D8E6C0
accent
#CA1C89
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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