#976EF5#976EF5

#976EF5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.194 H 294.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#976EF5
RGBrgb(151, 110, 245)
HSLhsl(258, 87%, 70%)
HSVhsv(258, 55%, 96%)
CMYKcmyk(38.4%, 55.1%, 0%, 3.9%)
CIE-LABlab(56.41, 45.64, -62.32)
CIE-LCHlch(56.41, 77.24, 306.22°)
OKLaboklab(64.33% 0.0799 -0.177)
OKLCHoklch(64.33% 0.194 294.3)
XYZxyz(34.8155, 24.3230, 89.2290)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EF5 #CCF56E
analogous
#6E89F5 #976EF5 #DA6EF5
triadic
#976EF5 #F5976E #6EF597
tetradic
#976EF5 #F56E89 #CCF56E #6EF5DA
square
#976EF5 #F56E89 #CCF56E #6EF5DA
split-complementary
#976EF5 #F5DA6E #89F56E
monochromatic
#4D0FDA #6E35F1 #976EF5 #C0A7F9 #E9E1FD

Accessibility & contrast

On white

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

On black

5.86
#976EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EF5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EF5#FFFFFF#000000##000000
##976EF51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FA
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#7F8AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976ef5;
/* rgb */ color: rgb(151, 110, 245);
/* oklch */ color: oklch(64.3% 0.194 294.3);
Tailwind
colors: {
  custom: {
    50: '#ba99f9',
    500: '#976ef5',
    950: '#000000',
  },
}
SCSS
$custom: #976ef5;
$custom-light: #ba99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#976ef5",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 258.222,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64329,
    "c": 0.19415,
    "h": 294.3
  },
  "luminance": 0.24324
}

Semantic roles & 50–950 ramp

primary
#976EF5
secondary
#E7F3CC
accent
#E4029F
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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