#976EEB#976EEB

#976EEB is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.182 H 296.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#976EEB
RGBrgb(151, 110, 235)
HSLhsl(260, 76%, 68%)
HSVhsv(260, 53%, 92%)
CMYKcmyk(35.7%, 53.2%, 0%, 7.8%)
CIE-LABlab(55.82, 43.04, -57.70)
CIE-LCHlch(55.82, 71.99, 306.72°)
OKLaboklab(63.7% 0.0796 -0.1634)
OKLCHoklch(63.7% 0.182 296)
XYZxyz(33.3300, 23.7288, 81.4052)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EEB #C2EB6E
analogous
#6E83EB #976EEB #D66EEB
triadic
#976EEB #EB976E #6EEB97
tetradic
#976EEB #EB6E83 #C2EB6E #6EEBD6
square
#976EEB #EB6E83 #C2EB6E #6EEBD6
split-complementary
#976EEB #EBD66E #83EB6E
monochromatic
#521BC4 #7038E4 #976EEB #BEA4F2 #E4DAFA

Accessibility & contrast

On white

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

On black

5.75
#976EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EEB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EEB#FFFFFF#000000##000000
##976EEB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#8387A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976eeb;
/* rgb */ color: rgb(151, 110, 235);
/* oklch */ color: oklch(63.7% 0.182 296.0);
Tailwind
colors: {
  custom: {
    50: '#ba99f2',
    500: '#976eeb',
    950: '#000000',
  },
}
SCSS
$custom: #976eeb;
$custom-light: #ba99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#976eeb",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 259.68,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63698,
    "c": 0.18175,
    "h": 296
  },
  "luminance": 0.23729
}

Semantic roles & 50–950 ramp

primary
#976EEB
secondary
#E1EEC7
accent
#D80E96
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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