#976FE9#976FE9

#976FE9 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.178 H 296.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#976FE9
RGBrgb(151, 111, 233)
HSLhsl(260, 73%, 67%)
HSVhsv(260, 52%, 91%)
CMYKcmyk(35.2%, 52.4%, 0%, 8.6%)
CIE-LABlab(55.92, 41.97, -56.42)
CIE-LCHlch(55.92, 70.32, 306.64°)
OKLaboklab(63.74% 0.0782 -0.1596)
OKLCHoklch(63.74% 0.178 296.1)
XYZxyz(33.1512, 23.8308, 79.9282)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FE9 #C1E96F
analogous
#6F84E9 #976FE9 #D46FE9
triadic
#976FE9 #E9976F #6FE997
tetradic
#976FE9 #E96F84 #C1E96F #6FE9D4
square
#976FE9 #E96F84 #C1E96F #6FE9D4
split-complementary
#976FE9 #E9D46F #84E96F
monochromatic
#531DC0 #713AE1 #976FE9 #BDA4F1 #E4D9F9

Accessibility & contrast

On white

3.64
#976FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#976FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FE9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FE9#FFFFFF#000000##000000
##976FE91.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87ED
Deuteranopia (green-blind)
#4884E6
Tritanopia (blue-blind)
#8487A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976fe9;
/* rgb */ color: rgb(151, 111, 233);
/* oklch */ color: oklch(63.7% 0.178 296.1);
Tailwind
colors: {
  custom: {
    50: '#b999f1',
    500: '#976fe9',
    950: '#000000',
  },
}
SCSS
$custom: #976fe9;
$custom-light: #b999f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976fe9",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 259.672,
    "s": 73.494,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63737,
    "c": 0.17779,
    "h": 296.1
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#976FE9
secondary
#E0EDC7
accent
#D61095
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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