#976CFD#976CFD

#976CFD is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.5% C 0.207 H 293.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#976CFD
RGBrgb(151, 108, 253)
HSLhsl(258, 97%, 71%)
HSVhsv(258, 57%, 99%)
CMYKcmyk(40.3%, 57.3%, 0%, 0.8%)
CIE-LABlab(56.48, 48.84, -66.63)
CIE-LCHlch(56.48, 82.61, 306.24°)
OKLaboklab(64.54% 0.0822 -0.1896)
OKLCHoklch(64.54% 0.207 293.4)
XYZxyz(35.8499, 24.3954, 95.7294)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CFD #D2FD6C
analogous
#6C89FD #976CFD #DF6CFD
triadic
#976CFD #FD976C #6CFD97
tetradic
#976CFD #FD6C89 #D2FD6C #6CFDDF
square
#976CFD #FD6C89 #D2FD6C #6CFDDF
split-complementary
#976CFD #FDDF6C #89FD6C
monochromatic
#4803EB #6C30FC #976CFD #C2A8FE #EAE1FF

Accessibility & contrast

On white

3.57
#976CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#976CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CFD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CFD#FFFFFF#000000##000000
##976CFD1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C89FF
Deuteranopia (green-blind)
#2585FA
Tritanopia (blue-blind)
#7C8CAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976cfd;
/* rgb */ color: rgb(151, 108, 253);
/* oklch */ color: oklch(64.5% 0.207 293.4);
Tailwind
colors: {
  custom: {
    50: '#bb97ff',
    500: '#976cfd',
    950: '#000000',
  },
}
SCSS
$custom: #976cfd;
$custom-light: #bb97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#976cfd",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 257.793,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.20668,
    "h": 293.4
  },
  "luminance": 0.24396
}

Semantic roles & 50–950 ramp

primary
#976CFD
secondary
#EAF6CF
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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