#976EEC#976EEC

#976EEC is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.8% C 0.183 H 295.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#976EEC
RGBrgb(151, 110, 236)
HSLhsl(260, 77%, 68%)
HSVhsv(260, 53%, 93%)
CMYKcmyk(36%, 53.4%, 0%, 7.5%)
CIE-LABlab(55.87, 43.30, -58.17)
CIE-LCHlch(55.87, 72.51, 306.66°)
OKLaboklab(63.76% 0.0796 -0.1648)
OKLCHoklch(63.76% 0.183 295.8)
XYZxyz(33.4749, 23.7867, 82.1683)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EEC #C3EC6E
analogous
#6E84EC #976EEC #D66EEC
triadic
#976EEC #EC976E #6EEC97
tetradic
#976EEC #EC6E84 #C3EC6E #6EECD6
square
#976EEC #EC6E84 #C3EC6E #6EECD6
split-complementary
#976EEC #ECD66E #84EC6E
monochromatic
#521AC6 #7038E5 #976EEC #BEA4F3 #E5DAFA

Accessibility & contrast

On white

3.65
#976EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#976EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EEC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EEC#FFFFFF#000000##000000
##976EEC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#8388A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976eec;
/* rgb */ color: rgb(151, 110, 236);
/* oklch */ color: oklch(63.8% 0.183 295.8);
Tailwind
colors: {
  custom: {
    50: '#ba99f3',
    500: '#976eec',
    950: '#000000',
  },
}
SCSS
$custom: #976eec;
$custom-light: #ba99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#976eec",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 259.524,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6376,
    "c": 0.18299,
    "h": 295.8
  },
  "luminance": 0.23787
}

Semantic roles & 50–950 ramp

primary
#976EEC
secondary
#E2EEC7
accent
#D90C96
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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