#976EF6#976EF6

#976EF6 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.195 H 294.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#976EF6
RGBrgb(151, 110, 246)
HSLhsl(258, 88%, 70%)
HSVhsv(258, 55%, 96%)
CMYKcmyk(38.6%, 55.3%, 0%, 3.5%)
CIE-LABlab(56.47, 45.90, -62.77)
CIE-LCHlch(56.47, 77.77, 306.18°)
OKLaboklab(64.39% 0.0799 -0.1783)
OKLCHoklch(64.39% 0.195 294.1)
XYZxyz(34.9686, 24.3842, 90.0351)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EF6 #CDF66E
analogous
#6E89F6 #976EF6 #DB6EF6
triadic
#976EF6 #F6976E #6EF697
tetradic
#976EF6 #F66E89 #CDF66E #6EF6DB
square
#976EF6 #F66E89 #CDF66E #6EF6DB
split-complementary
#976EF6 #F6DB6E #89F66E
monochromatic
#4C0EDC #6E34F2 #976EF6 #C0A8FA #EAE1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976EF6#FFFFFF#000000##000000
##976EF61.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)
#2989FB
Deuteranopia (green-blind)
#3785F3
Tritanopia (blue-blind)
#7F8BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976ef6;
/* rgb */ color: rgb(151, 110, 246);
/* oklch */ color: oklch(64.4% 0.195 294.1);
Tailwind
colors: {
  custom: {
    50: '#bb99fa',
    500: '#976ef6',
    950: '#000000',
  },
}
SCSS
$custom: #976ef6;
$custom-light: #bb99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#976ef6",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 258.088,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64393,
    "c": 0.19538,
    "h": 294.1
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#976EF6
secondary
#E8F3CD
accent
#E501A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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