#976DEA#976DEA

#976DEA is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.5% C 0.182 H 296.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#976DEA
RGBrgb(151, 109, 234)
HSLhsl(260, 75%, 67%)
HSVhsv(260, 53%, 92%)
CMYKcmyk(35.5%, 53.4%, 0%, 8.2%)
CIE-LABlab(55.54, 43.34, -57.58)
CIE-LCHlch(55.54, 72.07, 306.97°)
OKLaboklab(63.48% 0.0808 -0.1631)
OKLCHoklch(63.48% 0.182 296.3)
XYZxyz(33.0787, 23.4566, 80.6107)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DEA #C0EA6D
analogous
#6D82EA #976DEA #D56DEA
triadic
#976DEA #EA976D #6DEA97
tetradic
#976DEA #EA6D82 #C0EA6D #6DEAD5
square
#976DEA #EA6D82 #C0EA6D #6DEAD5
split-complementary
#976DEA #EAD56D #82EA6D
monochromatic
#531CC1 #7137E2 #976DEA #BDA3F2 #E3D8F9

Accessibility & contrast

On white

3.69
#976DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#976DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DEA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DEA#FFFFFF#000000##000000
##976DEA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#4483E7
Tritanopia (blue-blind)
#8486A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976dea;
/* rgb */ color: rgb(151, 109, 234);
/* oklch */ color: oklch(63.5% 0.182 296.3);
Tailwind
colors: {
  custom: {
    50: '#ba98f1',
    500: '#976dea',
    950: '#000000',
  },
}
SCSS
$custom: #976dea;
$custom-light: #ba98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976dea",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 234
  },
  "hsl": {
    "h": 260.16,
    "s": 74.85,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63475,
    "c": 0.18197,
    "h": 296.3
  },
  "luminance": 0.23457
}

Semantic roles & 50–950 ramp

primary
#976DEA
secondary
#E0EDC6
accent
#D70E94
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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