#976EF2#976EF2

#976EF2 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.1% C 0.190 H 294.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#976EF2
RGBrgb(151, 110, 242)
HSLhsl(259, 84%, 69%)
HSVhsv(259, 55%, 95%)
CMYKcmyk(37.6%, 54.5%, 0%, 5.1%)
CIE-LABlab(56.23, 44.86, -60.94)
CIE-LCHlch(56.23, 75.67, 306.36°)
OKLaboklab(64.14% 0.0798 -0.1729)
OKLCHoklch(64.14% 0.19 294.8)
XYZxyz(34.3613, 24.1413, 86.8365)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EF2 #C9F26E
analogous
#6E87F2 #976EF2 #D96EF2
triadic
#976EF2 #F2976E #6EF297
tetradic
#976EF2 #F26E87 #C9F26E #6EF2D9
square
#976EF2 #F26E87 #C9F26E #6EF2D9
split-complementary
#976EF2 #F2D96E #87F26E
monochromatic
#4E13D3 #6F36ED #976EF2 #BFA6F7 #E8DEFC

Accessibility & contrast

On white

3.60
#976EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#976EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EF2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EF2#FFFFFF#000000##000000
##976EF21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#8189A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976ef2;
/* rgb */ color: rgb(151, 110, 242);
/* oklch */ color: oklch(64.1% 0.190 294.8);
Tailwind
colors: {
  custom: {
    50: '#ba99f7',
    500: '#976ef2',
    950: '#000000',
  },
}
SCSS
$custom: #976ef2;
$custom-light: #ba99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#976ef2",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 258.636,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64137,
    "c": 0.19044,
    "h": 294.8
  },
  "luminance": 0.24142
}

Semantic roles & 50–950 ramp

primary
#976EF2
secondary
#E5F1CB
accent
#E0069C
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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