#976DE7#976DE7

#976DE7 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.178 H 296.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#976DE7
RGBrgb(151, 109, 231)
HSLhsl(261, 72%, 67%)
HSVhsv(261, 53%, 91%)
CMYKcmyk(34.6%, 52.8%, 0%, 9.4%)
CIE-LABlab(55.37, 42.57, -56.19)
CIE-LCHlch(55.37, 70.49, 307.15°)
OKLaboklab(63.29% 0.0806 -0.159)
OKLCHoklch(63.29% 0.178 296.9)
XYZxyz(32.6513, 23.2856, 78.3601)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DE7 #BDE76D
analogous
#6D80E7 #976DE7 #D46DE7
triadic
#976DE7 #E7976D #6DE797
tetradic
#976DE7 #E76D80 #BDE76D #6DE7D4
square
#976DE7 #E76D80 #BDE76D #6DE7D4
split-complementary
#976DE7 #E7D46D #80E76D
monochromatic
#541FBB #7238DE #976DE7 #BCA2F0 #E2D6F8

Accessibility & contrast

On white

3.71
#976DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#976DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DE7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DE7#FFFFFF#000000##000000
##976DE71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#8585A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976de7;
/* rgb */ color: rgb(151, 109, 231);
/* oklch */ color: oklch(63.3% 0.178 296.9);
Tailwind
colors: {
  custom: {
    50: '#b998ef',
    500: '#976de7',
    950: '#000000',
  },
}
SCSS
$custom: #976de7;
$custom-light: #b998ef;
$custom-dark: #000000;
JSON
{
  "hex": "#976de7",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 260.656,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6329,
    "c": 0.17823,
    "h": 296.9
  },
  "luminance": 0.23286
}

Semantic roles & 50–950 ramp

primary
#976DE7
secondary
#DEECC4
accent
#D41291
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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