#976DFA#976DFA

#976DFA is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.5% C 0.202 H 293.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#976DFA
RGBrgb(151, 109, 250)
HSLhsl(258, 93%, 70%)
HSVhsv(258, 56%, 98%)
CMYKcmyk(39.6%, 56.4%, 0%, 2%)
CIE-LABlab(56.50, 47.50, -64.94)
CIE-LCHlch(56.50, 80.46, 306.19°)
OKLaboklab(64.5% 0.0811 -0.1847)
OKLCHoklch(64.5% 0.202 293.7)
XYZxyz(35.4819, 24.4179, 93.2676)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DFA #D0FA6D
analogous
#6D8AFA #976DFA #DD6DFA
triadic
#976DFA #FA976D #6DFA97
tetradic
#976DFA #FA6D8A #D0FA6D #6DFADD
square
#976DFA #FA6D8A #D0FA6D #6DFADD
split-complementary
#976DFA #FADD6D #8AFA6D
monochromatic
#4A08E5 #6D32F8 #976DFA #C1A8FC #EAE1FE

Accessibility & contrast

On white

3.57
#976DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#976DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DFA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DFA#FFFFFF#000000##000000
##976DFA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D89FF
Deuteranopia (green-blind)
#2E85F7
Tritanopia (blue-blind)
#7D8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976dfa;
/* rgb */ color: rgb(151, 109, 250);
/* oklch */ color: oklch(64.5% 0.202 293.7);
Tailwind
colors: {
  custom: {
    50: '#bb98fd',
    500: '#976dfa',
    950: '#000000',
  },
}
SCSS
$custom: #976dfa;
$custom-light: #bb98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976dfa",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 257.872,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64496,
    "c": 0.20167,
    "h": 293.7
  },
  "luminance": 0.24419
}

Semantic roles & 50–950 ramp

primary
#976DFA
secondary
#E9F5CE
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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