#976CE7#976CE7

#976CE7 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.1% C 0.180 H 297.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#976CE7
RGBrgb(151, 108, 231)
HSLhsl(261, 72%, 66%)
HSVhsv(261, 53%, 91%)
CMYKcmyk(34.6%, 53.2%, 0%, 9.4%)
CIE-LABlab(55.15, 43.13, -56.53)
CIE-LCHlch(55.15, 71.11, 307.34°)
OKLaboklab(63.13% 0.0819 -0.16)
OKLCHoklch(63.13% 0.18 297.1)
XYZxyz(32.5453, 23.0735, 78.3248)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CE7 #BCE76C
analogous
#6C7FE7 #976CE7 #D56CE7
triadic
#976CE7 #E7976C #6CE797
tetradic
#976CE7 #E76C7F #BCE76C #6CE7D5
square
#976CE7 #E76C7F #BCE76C #6CE7D5
split-complementary
#976CE7 #E7D56C #7FE76C
monochromatic
#551EBA #7237DE #976CE7 #BCA1F0 #E1D5F8

Accessibility & contrast

On white

3.74
#976CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#976CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CE7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CE7#FFFFFF#000000##000000
##976CE71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984EB
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#85859F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976ce7;
/* rgb */ color: rgb(151, 108, 231);
/* oklch */ color: oklch(63.1% 0.180 297.1);
Tailwind
colors: {
  custom: {
    50: '#b997ef',
    500: '#976ce7',
    950: '#000000',
  },
}
SCSS
$custom: #976ce7;
$custom-light: #b997ef;
$custom-dark: #000000;
JSON
{
  "hex": "#976ce7",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 260.976,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63129,
    "c": 0.17971,
    "h": 297.1
  },
  "luminance": 0.23074
}

Semantic roles & 50–950 ramp

primary
#976CE7
secondary
#DDEBC3
accent
#D41290
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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