#976DEC#976DEC

#976DEC is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.184 H 296.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#976DEC
RGBrgb(151, 109, 236)
HSLhsl(260, 77%, 68%)
HSVhsv(260, 54%, 93%)
CMYKcmyk(36%, 53.8%, 0%, 7.5%)
CIE-LABlab(55.66, 43.86, -58.51)
CIE-LCHlch(55.66, 73.12, 306.85°)
OKLaboklab(63.6% 0.0808 -0.1658)
OKLCHoklch(63.6% 0.184 296)
XYZxyz(33.3676, 23.5721, 82.1325)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DEC #C2EC6D
analogous
#6D82EC #976DEC #D76DEC
triadic
#976DEC #EC976D #6DEC97
tetradic
#976DEC #EC6D82 #C2EC6D #6DECD7
square
#976DEC #EC6D82 #C2EC6D #6DECD7
split-complementary
#976DEC #ECD76D #82EC6D
monochromatic
#521AC5 #7037E5 #976DEC #BEA3F3 #E4D9FA

Accessibility & contrast

On white

3.67
#976DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#976DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DEC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DEC#FFFFFF#000000##000000
##976DEC1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#4284E9
Tritanopia (blue-blind)
#8387A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976dec;
/* rgb */ color: rgb(151, 109, 236);
/* oklch */ color: oklch(63.6% 0.184 296.0);
Tailwind
colors: {
  custom: {
    50: '#ba98f3',
    500: '#976dec',
    950: '#000000',
  },
}
SCSS
$custom: #976dec;
$custom-light: #ba98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#976dec",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 259.843,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.636,
    "c": 0.18444,
    "h": 296
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#976DEC
secondary
#E1EEC7
accent
#D90C95
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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