#976CEF#976CEF

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

Color values

HEX#976CEF
RGBrgb(151, 108, 239)
HSLhsl(260, 80%, 68%)
HSVhsv(260, 55%, 94%)
CMYKcmyk(36.8%, 54.8%, 0%, 6.3%)
CIE-LABlab(55.62, 45.19, -60.25)
CIE-LCHlch(55.62, 75.31, 306.87°)
OKLaboklab(63.63% 0.0821 -0.1709)
OKLCHoklch(63.63% 0.19 295.7)
XYZxyz(33.7010, 23.5358, 84.4119)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CEF #C4EF6C
analogous
#6C82EF #976CEF #D96CEF
triadic
#976CEF #EF976C #6CEF97
tetradic
#976CEF #EF6C82 #C4EF6C #6CEFD9
square
#976CEF #EF6C82 #C4EF6C #6CEFD9
split-complementary
#976CEF #EFD96C #82EF6C
monochromatic
#5116CB #7035E9 #976CEF #BEA3F5 #E5DAFB

Accessibility & contrast

On white

3.68
#976CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##976CEF#FFFFFF#000000##000000
##976CEF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#3D83EC
Tritanopia (blue-blind)
#8287A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976cef;
/* rgb */ color: rgb(151, 108, 239);
/* oklch */ color: oklch(63.6% 0.190 295.7);
Tailwind
colors: {
  custom: {
    50: '#ba97f5',
    500: '#976cef',
    950: '#000000',
  },
}
SCSS
$custom: #976cef;
$custom-light: #ba97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#976cef",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 259.695,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6363,
    "c": 0.18959,
    "h": 295.7
  },
  "luminance": 0.23536
}

Semantic roles & 50–950 ramp

primary
#976CEF
secondary
#E2EFC7
accent
#DD0997
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #976CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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