#976EEF#976EEF

#976EEF is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.187 H 295.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#976EEF
RGBrgb(151, 110, 239)
HSLhsl(259, 80%, 68%)
HSVhsv(259, 54%, 94%)
CMYKcmyk(36.8%, 54%, 0%, 6.3%)
CIE-LABlab(56.05, 44.08, -59.56)
CIE-LCHlch(56.05, 74.09, 306.50°)
OKLaboklab(63.95% 0.0797 -0.1688)
OKLCHoklch(63.95% 0.187 295.3)
XYZxyz(33.9144, 23.9625, 84.4830)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EEF #C6EF6E
analogous
#6E85EF #976EEF #D76EEF
triadic
#976EEF #EF976E #6EEF97
tetradic
#976EEF #EF6E85 #C6EF6E #6EEFD7
square
#976EEF #EF6E85 #C6EF6E #6EEFD7
split-complementary
#976EEF #EFD76E #85EF6E
monochromatic
#5017CC #6F37E9 #976EEF #BFA5F5 #E6DCFB

Accessibility & contrast

On white

3.63
#976EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#976EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EEF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EEF#FFFFFF#000000##000000
##976EEF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#4084EC
Tritanopia (blue-blind)
#8289A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976eef;
/* rgb */ color: rgb(151, 110, 239);
/* oklch */ color: oklch(63.9% 0.187 295.3);
Tailwind
colors: {
  custom: {
    50: '#ba99f5',
    500: '#976eef',
    950: '#000000',
  },
}
SCSS
$custom: #976eef;
$custom-light: #ba99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#976eef",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 259.07,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63948,
    "c": 0.18672,
    "h": 295.3
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#976EEF
secondary
#E3F0C9
accent
#DC0999
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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