#976DF5#976DF5

#976DF5 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.2% C 0.196 H 294.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#976DF5
RGBrgb(151, 109, 245)
HSLhsl(259, 87%, 69%)
HSVhsv(259, 56%, 96%)
CMYKcmyk(38.4%, 55.5%, 0%, 3.9%)
CIE-LABlab(56.20, 46.19, -62.66)
CIE-LCHlch(56.20, 77.85, 306.40°)
OKLaboklab(64.17% 0.081 -0.178)
OKLCHoklch(64.17% 0.196 294.5)
XYZxyz(34.7082, 24.1084, 89.1932)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DF5 #CBF56D
analogous
#6D87F5 #976DF5 #DB6DF5
triadic
#976DF5 #F5976D #6DF597
tetradic
#976DF5 #F56D87 #CBF56D #6DF5DB
square
#976DF5 #F56D87 #CBF56D #6DF5DB
split-complementary
#976DF5 #F5DB6D #87F56D
monochromatic
#4D0FD9 #6E34F1 #976DF5 #C0A6F9 #E9E0FD

Accessibility & contrast

On white

3.61
#976DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#976DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DF5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DF5#FFFFFF#000000##000000
##976DF51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2888FA
Deuteranopia (green-blind)
#3685F2
Tritanopia (blue-blind)
#7F8AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976df5;
/* rgb */ color: rgb(151, 109, 245);
/* oklch */ color: oklch(64.2% 0.196 294.5);
Tailwind
colors: {
  custom: {
    50: '#bb98f9',
    500: '#976df5',
    950: '#000000',
  },
}
SCSS
$custom: #976df5;
$custom-light: #bb98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#976df5",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 258.529,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64171,
    "c": 0.19554,
    "h": 294.5
  },
  "luminance": 0.24109
}

Semantic roles & 50–950 ramp

primary
#976DF5
secondary
#E6F2CB
accent
#E4029E
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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