#976FEF#976FEF

#976FEF is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.1% C 0.185 H 295.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#976FEF
RGBrgb(151, 111, 239)
HSLhsl(259, 80%, 69%)
HSVhsv(259, 54%, 94%)
CMYKcmyk(36.8%, 53.6%, 0%, 6.3%)
CIE-LABlab(56.27, 43.52, -59.21)
CIE-LCHlch(56.27, 73.48, 306.32°)
OKLaboklab(64.11% 0.0785 -0.1678)
OKLCHoklch(64.11% 0.185 295.1)
XYZxyz(34.0229, 24.1795, 84.5192)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FEF #C7EF6F
analogous
#6F87EF #976FEF #D76FEF
triadic
#976FEF #EF976F #6FEF97
tetradic
#976FEF #EF6F87 #C7EF6F #6FEFD7
square
#976FEF #EF6F87 #C7EF6F #6FEFD7
split-complementary
#976FEF #EFD76F #87EF6F
monochromatic
#5017CD #6F38E9 #976FEF #BFA6F5 #E7DDFB

Accessibility & contrast

On white

3.60
#976FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#976FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FEF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FEF#FFFFFF#000000##000000
##976FEF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#8289A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976fef;
/* rgb */ color: rgb(151, 111, 239);
/* oklch */ color: oklch(64.1% 0.185 295.1);
Tailwind
colors: {
  custom: {
    50: '#ba99f5',
    500: '#976fef',
    950: '#000000',
  },
}
SCSS
$custom: #976fef;
$custom-light: #ba99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#976fef",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 258.75,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.18528,
    "h": 295.1
  },
  "luminance": 0.2418
}

Semantic roles & 50–950 ramp

primary
#976FEF
secondary
#E4F0CA
accent
#DC099A
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #976FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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