#976EFE#976EFE

#976EFE is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 64.9% C 0.205 H 292.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#976EFE
RGBrgb(151, 110, 254)
HSLhsl(257, 99%, 71%)
HSVhsv(257, 57%, 100%)
CMYKcmyk(40.6%, 56.7%, 0%, 0.4%)
CIE-LABlab(56.96, 48.01, -66.40)
CIE-LCHlch(56.96, 81.94, 305.87°)
OKLaboklab(64.91% 0.0799 -0.189)
OKLCHoklch(64.91% 0.205 292.9)
XYZxyz(36.2230, 24.8860, 96.6417)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EFE #D5FE6E
analogous
#6E8DFE #976EFE #DF6EFE
triadic
#976EFE #FE976E #6EFE97
tetradic
#976EFE #FE6E8D #D5FE6E #6EFEDF
square
#976EFE #FE6E8D #D5FE6E #6EFEDF
split-complementary
#976EFE #FEDF6E #8DFE6E
monochromatic
#4602F0 #6B31FE #976EFE #C3ABFE #E9E1FF

Accessibility & contrast

On white

3.51
#976EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#976EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EFE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EFE#FFFFFF#000000##000000
##976EFE1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#168BFF
Deuteranopia (green-blind)
#2986FB
Tritanopia (blue-blind)
#7B8DAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #976efe;
/* rgb */ color: rgb(151, 110, 254);
/* oklch */ color: oklch(64.9% 0.205 292.9);
Tailwind
colors: {
  custom: {
    50: '#bb99ff',
    500: '#976efe',
    950: '#000000',
  },
}
SCSS
$custom: #976efe;
$custom-light: #bb99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#976efe",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 257.083,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64914,
    "c": 0.20517,
    "h": 292.9
  },
  "luminance": 0.24887
}

Semantic roles & 50–950 ramp

primary
#976EFE
secondary
#ECF7D1
accent
#E600A4
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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