#976DFD#976DFD

#976DFD is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.7% C 0.205 H 293.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#976DFD
RGBrgb(151, 109, 253)
HSLhsl(258, 97%, 71%)
HSVhsv(258, 57%, 99%)
CMYKcmyk(40.3%, 56.9%, 0%, 0.8%)
CIE-LABlab(56.69, 48.29, -66.29)
CIE-LCHlch(56.69, 82.02, 306.07°)
OKLaboklab(64.69% 0.0811 -0.1887)
OKLCHoklch(64.69% 0.205 293.2)
XYZxyz(35.9560, 24.6075, 95.7648)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DFD #D3FD6D
analogous
#6D8BFD #976DFD #DF6DFD
triadic
#976DFD #FD976D #6DFD97
tetradic
#976DFD #FD6D8B #D3FD6D #6DFDDF
square
#976DFD #FD6D8B #D3FD6D #6DFDDF
split-complementary
#976DFD #FDDF6D #8BFD6D
monochromatic
#4703EC #6C31FC #976DFD #C2A9FE #E9E1FF

Accessibility & contrast

On white

3.55
#976DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#976DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DFD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DFD#FFFFFF#000000##000000
##976DFD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#148AFF
Deuteranopia (green-blind)
#2885FA
Tritanopia (blue-blind)
#7C8CAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #976dfd;
/* rgb */ color: rgb(151, 109, 253);
/* oklch */ color: oklch(64.7% 0.205 293.2);
Tailwind
colors: {
  custom: {
    50: '#bb98ff',
    500: '#976dfd',
    950: '#000000',
  },
}
SCSS
$custom: #976dfd;
$custom-light: #bb98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#976dfd",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 257.5,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64694,
    "c": 0.20532,
    "h": 293.2
  },
  "luminance": 0.24608
}

Semantic roles & 50–950 ramp

primary
#976DFD
secondary
#EBF6D0
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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