#976EEE#976EEE

#976EEE is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.9% C 0.185 H 295.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#976EEE
RGBrgb(151, 110, 238)
HSLhsl(259, 79%, 68%)
HSVhsv(259, 54%, 93%)
CMYKcmyk(36.6%, 53.8%, 0%, 6.7%)
CIE-LABlab(55.99, 43.82, -59.09)
CIE-LCHlch(55.99, 73.57, 306.56°)
OKLaboklab(63.89% 0.0797 -0.1675)
OKLCHoklch(63.89% 0.185 295.4)
XYZxyz(33.7671, 23.9036, 83.7071)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EEE #C5EE6E
analogous
#6E85EE #976EEE #D76EEE
triadic
#976EEE #EE976E #6EEE97
tetradic
#976EEE #EE6E85 #C5EE6E #6EEED7
square
#976EEE #EE6E85 #C5EE6E #6EEED7
split-complementary
#976EEE #EED76E #85EE6E
monochromatic
#5118CA #7037E8 #976EEE #BEA5F4 #E6DCFB

Accessibility & contrast

On white

3.63
#976EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#976EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EEE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EEE#FFFFFF#000000##000000
##976EEE1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F2
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#8288A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976eee;
/* rgb */ color: rgb(151, 110, 238);
/* oklch */ color: oklch(63.9% 0.185 295.4);
Tailwind
colors: {
  custom: {
    50: '#ba99f4',
    500: '#976eee',
    950: '#000000',
  },
}
SCSS
$custom: #976eee;
$custom-light: #ba99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#976eee",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 259.219,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63885,
    "c": 0.18549,
    "h": 295.4
  },
  "luminance": 0.23904
}

Semantic roles & 50–950 ramp

primary
#976EEE
secondary
#E3EFC8
accent
#DB0A98
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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