#976CF2#976CF2

#976CF2 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.193 H 295.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#976CF2
RGBrgb(151, 108, 242)
HSLhsl(259, 84%, 69%)
HSVhsv(259, 55%, 95%)
CMYKcmyk(37.6%, 55.4%, 0%, 5.1%)
CIE-LABlab(55.80, 45.96, -61.63)
CIE-LCHlch(55.80, 76.88, 306.72°)
OKLaboklab(63.82% 0.0822 -0.1749)
OKLCHoklch(63.82% 0.193 295.2)
XYZxyz(34.1479, 23.7146, 86.7654)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CF2 #C7F26C
analogous
#6C84F2 #976CF2 #DA6CF2
triadic
#976CF2 #F2976C #6CF297
tetradic
#976CF2 #F26C84 #C7F26C #6CF2DA
square
#976CF2 #F26C84 #C7F26C #6CF2DA
split-complementary
#976CF2 #F2DA6C #84F26C
monochromatic
#5012D1 #6F34ED #976CF2 #BFA4F7 #E7DCFC

Accessibility & contrast

On white

3.66
#976CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#976CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CF2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CF2#FFFFFF#000000##000000
##976CF21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F6
Deuteranopia (green-blind)
#3984EF
Tritanopia (blue-blind)
#8188A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976cf2;
/* rgb */ color: rgb(151, 108, 242);
/* oklch */ color: oklch(63.8% 0.193 295.2);
Tailwind
colors: {
  custom: {
    50: '#ba97f7',
    500: '#976cf2',
    950: '#000000',
  },
}
SCSS
$custom: #976cf2;
$custom-light: #ba97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#976cf2",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 259.254,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63821,
    "c": 0.19327,
    "h": 295.2
  },
  "luminance": 0.23715
}

Semantic roles & 50–950 ramp

primary
#976CF2
secondary
#E4F1C9
accent
#E0059A
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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