#976FF5#976FF5

#976FF5 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.5% C 0.193 H 294.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#976FF5
RGBrgb(151, 111, 245)
HSLhsl(258, 87%, 70%)
HSVhsv(258, 55%, 96%)
CMYKcmyk(38.4%, 54.7%, 0%, 3.9%)
CIE-LABlab(56.62, 45.09, -61.97)
CIE-LCHlch(56.62, 76.64, 306.04°)
OKLaboklab(64.49% 0.0787 -0.1759)
OKLCHoklch(64.49% 0.193 294.1)
XYZxyz(34.9240, 24.5400, 89.2651)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FF5 #CDF56F
analogous
#6F8AF5 #976FF5 #DA6FF5
triadic
#976FF5 #F5976F #6FF597
tetradic
#976FF5 #F56F8A #CDF56F #6FF5DA
square
#976FF5 #F56F8A #CDF56F #6FF5DA
split-complementary
#976FF5 #F5DA6F #8AF56F
monochromatic
#4C0FDA #6E36F1 #976FF5 #C0A8F9 #EAE1FD

Accessibility & contrast

On white

3.55
#976FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#976FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FF5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FF5#FFFFFF#000000##000000
##976FF51.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89FA
Deuteranopia (green-blind)
#3A86F2
Tritanopia (blue-blind)
#7F8BA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #976ff5;
/* rgb */ color: rgb(151, 111, 245);
/* oklch */ color: oklch(64.5% 0.193 294.1);
Tailwind
colors: {
  custom: {
    50: '#ba99f9',
    500: '#976ff5',
    950: '#000000',
  },
}
SCSS
$custom: #976ff5;
$custom-light: #ba99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#976ff5",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 257.91,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64487,
    "c": 0.19273,
    "h": 294.1
  },
  "luminance": 0.24541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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