#976FEA#976FEA

#976FEA is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.8% C 0.179 H 295.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#976FEA
RGBrgb(151, 111, 234)
HSLhsl(260, 75%, 68%)
HSVhsv(260, 53%, 92%)
CMYKcmyk(35.5%, 52.6%, 0%, 8.2%)
CIE-LABlab(55.98, 42.22, -56.89)
CIE-LCHlch(55.98, 70.84, 306.58°)
OKLaboklab(63.8% 0.0783 -0.161)
OKLCHoklch(63.8% 0.179 295.9)
XYZxyz(33.2944, 23.8881, 80.6827)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FEA #C2EA6F
analogous
#6F85EA #976FEA #D46FEA
triadic
#976FEA #EA976F #6FEA97
tetradic
#976FEA #EA6F85 #C2EA6F #6FEAD4
square
#976FEA #EA6F85 #C2EA6F #6FEAD4
split-complementary
#976FEA #EAD46F #85EA6F
monochromatic
#521CC2 #703AE2 #976FEA #BEA4F2 #E4DAFA

Accessibility & contrast

On white

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

On black

5.78
#976FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FEA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FEA#FFFFFF#000000##000000
##976FEA1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#4784E7
Tritanopia (blue-blind)
#8488A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976fea;
/* rgb */ color: rgb(151, 111, 234);
/* oklch */ color: oklch(63.8% 0.179 295.9);
Tailwind
colors: {
  custom: {
    50: '#ba99f1',
    500: '#976fea',
    950: '#000000',
  },
}
SCSS
$custom: #976fea;
$custom-light: #ba99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976fea",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 259.512,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63798,
    "c": 0.17904,
    "h": 295.9
  },
  "luminance": 0.23889
}

Semantic roles & 50–950 ramp

primary
#976FEA
secondary
#E1EDC7
accent
#D70F96
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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