#976CFE#976CFE

#976CFE is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.6% C 0.208 H 293.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#976CFE
RGBrgb(151, 108, 254)
HSLhsl(258, 99%, 71%)
HSVhsv(258, 57%, 100%)
CMYKcmyk(40.6%, 57.5%, 0%, 0.4%)
CIE-LABlab(56.54, 49.10, -67.08)
CIE-LCHlch(56.54, 83.13, 306.20°)
OKLaboklab(64.61% 0.0822 -0.191)
OKLCHoklch(64.61% 0.208 293.3)
XYZxyz(36.0096, 24.4593, 96.5706)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CFE #D3FE6C
analogous
#6C8AFE #976CFE #E06CFE
triadic
#976CFE #FE976C #6CFE97
tetradic
#976CFE #FE6C8A #D3FE6C #6CFEE0
square
#976CFE #FE6C8A #D3FE6C #6CFEE0
split-complementary
#976CFE #FEE06C #8AFE6C
monochromatic
#4702EE #6C2FFE #976CFE #C2A9FE #E9E1FF

Accessibility & contrast

On white

3.56
#976CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#976CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CFE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CFE#FFFFFF#000000##000000
##976CFE1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0689FF
Deuteranopia (green-blind)
#2385FB
Tritanopia (blue-blind)
#7C8CAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #976cfe;
/* rgb */ color: rgb(151, 108, 254);
/* oklch */ color: oklch(64.6% 0.208 293.3);
Tailwind
colors: {
  custom: {
    50: '#bb97ff',
    500: '#976cfe',
    950: '#000000',
  },
}
SCSS
$custom: #976cfe;
$custom-light: #bb97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#976cfe",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 257.671,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64606,
    "c": 0.20789,
    "h": 293.3
  },
  "luminance": 0.2446
}

Semantic roles & 50–950 ramp

primary
#976CFE
secondary
#EBF6CF
accent
#E600A2
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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