#976FEB#976FEB

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

Color values

HEX#976FEB
RGBrgb(151, 111, 235)
HSLhsl(259, 76%, 68%)
HSVhsv(259, 53%, 92%)
CMYKcmyk(35.7%, 52.8%, 0%, 7.8%)
CIE-LABlab(56.03, 42.48, -57.35)
CIE-LCHlch(56.03, 71.37, 306.53°)
OKLaboklab(63.86% 0.0783 -0.1624)
OKLCHoklch(63.86% 0.18 295.8)
XYZxyz(33.4385, 23.9458, 81.4414)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FEB #C3EB6F
analogous
#6F85EB #976FEB #D56FEB
triadic
#976FEB #EB976F #6FEB97
tetradic
#976FEB #EB6F85 #C3EB6F #6FEBD5
square
#976FEB #EB6F85 #C3EB6F #6FEBD5
split-complementary
#976FEB #EBD56F #85EB6F
monochromatic
#521BC4 #7039E4 #976FEB #BEA5F2 #E5DAFA

Accessibility & contrast

On white

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

On black

5.79
#976FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FEB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FEB#FFFFFF#000000##000000
##976FEB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#4685E8
Tritanopia (blue-blind)
#8388A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976feb;
/* rgb */ color: rgb(151, 111, 235);
/* oklch */ color: oklch(63.9% 0.180 295.8);
Tailwind
colors: {
  custom: {
    50: '#ba99f2',
    500: '#976feb',
    950: '#000000',
  },
}
SCSS
$custom: #976feb;
$custom-light: #ba99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#976feb",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 259.355,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6386,
    "c": 0.18029,
    "h": 295.8
  },
  "luminance": 0.23946
}

Semantic roles & 50–950 ramp

primary
#976FEB
secondary
#E2EEC8
accent
#D80E97
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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