#976FEC#976FEC

#976FEC is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.182 H 295.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#976FEC
RGBrgb(151, 111, 236)
HSLhsl(259, 77%, 68%)
HSVhsv(259, 53%, 93%)
CMYKcmyk(36%, 53%, 0%, 7.5%)
CIE-LABlab(56.09, 42.74, -57.82)
CIE-LCHlch(56.09, 71.90, 306.47°)
OKLaboklab(63.92% 0.0784 -0.1637)
OKLCHoklch(63.92% 0.182 295.6)
XYZxyz(33.5834, 24.0037, 82.2044)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FEC #C4EC6F
analogous
#6F85EC #976FEC #D56FEC
triadic
#976FEC #EC976F #6FEC97
tetradic
#976FEC #EC6F85 #C4EC6F #6FECD5
square
#976FEC #EC6F85 #C4EC6F #6FECD5
split-complementary
#976FEC #ECD56F #85EC6F
monochromatic
#511AC6 #7039E5 #976FEC #BEA5F3 #E5DBFA

Accessibility & contrast

On white

3.62
#976FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#976FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FEC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FEC#FFFFFF#000000##000000
##976FEC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#8388A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976fec;
/* rgb */ color: rgb(151, 111, 236);
/* oklch */ color: oklch(63.9% 0.182 295.6);
Tailwind
colors: {
  custom: {
    50: '#ba99f3',
    500: '#976fec',
    950: '#000000',
  },
}
SCSS
$custom: #976fec;
$custom-light: #ba99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#976fec",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 259.2,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63922,
    "c": 0.18154,
    "h": 295.6
  },
  "luminance": 0.24004
}

Semantic roles & 50–950 ramp

primary
#976FEC
secondary
#E2EFC8
accent
#D90D98
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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