#976CFC#976CFC

#976CFC is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.5% C 0.205 H 293.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#976CFC
RGBrgb(151, 108, 252)
HSLhsl(258, 96%, 71%)
HSVhsv(258, 57%, 99%)
CMYKcmyk(40.1%, 57.1%, 0%, 1.2%)
CIE-LABlab(56.42, 48.58, -66.18)
CIE-LCHlch(56.42, 82.09, 306.28°)
OKLaboklab(64.47% 0.0822 -0.1883)
OKLCHoklch(64.47% 0.205 293.6)
XYZxyz(35.6911, 24.3318, 94.8926)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CFC #D1FC6C
analogous
#6C89FC #976CFC #DF6CFC
triadic
#976CFC #FC976C #6CFC97
tetradic
#976CFC #FC6C89 #D1FC6C #6CFCDF
square
#976CFC #FC6C89 #D1FC6C #6CFCDF
split-complementary
#976CFC #FCDF6C #89FC6C
monochromatic
#4905E9 #6D30FB #976CFC #C1A8FD #EAE1FE

Accessibility & contrast

On white

3.58
#976CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#976CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CFC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CFC#FFFFFF#000000##000000
##976CFC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1189FF
Deuteranopia (green-blind)
#2885F9
Tritanopia (blue-blind)
#7C8BAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976cfc;
/* rgb */ color: rgb(151, 108, 252);
/* oklch */ color: oklch(64.5% 0.205 293.6);
Tailwind
colors: {
  custom: {
    50: '#bb97fe',
    500: '#976cfc',
    950: '#000000',
  },
}
SCSS
$custom: #976cfc;
$custom-light: #bb97fe;
$custom-dark: #000000;
JSON
{
  "hex": "#976cfc",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 257.917,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64473,
    "c": 0.20547,
    "h": 293.6
  },
  "luminance": 0.24333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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