#976EE5#976EE5

#976EE5 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.3% C 0.174 H 297.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#976EE5
RGBrgb(151, 110, 229)
HSLhsl(261, 70%, 66%)
HSVhsv(261, 52%, 90%)
CMYKcmyk(34.1%, 52%, 0%, 10.2%)
CIE-LABlab(55.47, 41.50, -54.90)
CIE-LCHlch(55.47, 68.82, 307.09°)
OKLaboklab(63.33% 0.0793 -0.1552)
OKLCHoklch(63.33% 0.174 297.1)
XYZxyz(32.4778, 23.3879, 76.9168)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EE5 #BCE56E
analogous
#6E81E5 #976EE5 #D36EE5
triadic
#976EE5 #E5976E #6EE597
tetradic
#976EE5 #E56E81 #BCE56E #6EE5D3
square
#976EE5 #E56E81 #BCE56E #6EE5D3
split-complementary
#976EE5 #E5D36E #81E56E
monochromatic
#5521B8 #723ADC #976EE5 #BCA2EE #E1D6F8

Accessibility & contrast

On white

3.70
#976EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#976EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EE5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EE5#FFFFFF#000000##000000
##976EE51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E9
Deuteranopia (green-blind)
#4A83E2
Tritanopia (blue-blind)
#86869F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976ee5;
/* rgb */ color: rgb(151, 110, 229);
/* oklch */ color: oklch(63.3% 0.174 297.1);
Tailwind
colors: {
  custom: {
    50: '#b998ee',
    500: '#976ee5',
    950: '#000000',
  },
}
SCSS
$custom: #976ee5;
$custom-light: #b998ee;
$custom-dark: #000000;
JSON
{
  "hex": "#976ee5",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 229
  },
  "hsl": {
    "h": 260.672,
    "s": 69.591,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63331,
    "c": 0.17425,
    "h": 297.1
  },
  "luminance": 0.23388
}

Semantic roles & 50–950 ramp

primary
#976EE5
secondary
#DDEBC4
accent
#D21490
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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