#976EF7#976EF7

#976EF7 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.5% C 0.197 H 294.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#976EF7
RGBrgb(151, 110, 247)
HSLhsl(258, 90%, 70%)
HSVhsv(258, 55%, 97%)
CMYKcmyk(38.9%, 55.5%, 0%, 3.1%)
CIE-LABlab(56.53, 46.16, -63.23)
CIE-LCHlch(56.53, 78.29, 306.13°)
OKLaboklab(64.46% 0.0799 -0.1796)
OKLCHoklch(64.46% 0.197 294)
XYZxyz(35.1225, 24.4458, 90.8457)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EF7 #CEF76E
analogous
#6E8AF7 #976EF7 #DB6EF7
triadic
#976EF7 #F7976E #6EF797
tetradic
#976EF7 #F76E8A #CEF76E #6EF7DB
square
#976EF7 #F76E8A #CEF76E #6EF7DB
split-complementary
#976EF7 #F7DB6E #8AF76E
monochromatic
#4B0CDE #6D34F4 #976EF7 #C1A8FA #EAE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976EF7#FFFFFF#000000##000000
##976EF71.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2789FC
Deuteranopia (green-blind)
#3585F4
Tritanopia (blue-blind)
#7E8BA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #976ef7;
/* rgb */ color: rgb(151, 110, 247);
/* oklch */ color: oklch(64.5% 0.197 294.0);
Tailwind
colors: {
  custom: {
    50: '#bb99fb',
    500: '#976ef7',
    950: '#000000',
  },
}
SCSS
$custom: #976ef7;
$custom-light: #bb99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#976ef7",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 257.956,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.64457,
    "c": 0.1966,
    "h": 294
  },
  "luminance": 0.24447
}

Semantic roles & 50–950 ramp

primary
#976EF7
secondary
#E8F4CD
accent
#E600A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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