#976AFD#976AFD

#976AFD is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.2% C 0.209 H 293.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#976AFD
RGBrgb(151, 106, 253)
HSLhsl(258, 97%, 70%)
HSVhsv(258, 58%, 99%)
CMYKcmyk(40.3%, 58.1%, 0%, 0.8%)
CIE-LABlab(56.07, 49.93, -67.30)
CIE-LCHlch(56.07, 83.80, 306.57°)
OKLaboklab(64.24% 0.0844 -0.1916)
OKLCHoklch(64.24% 0.209 293.8)
XYZxyz(35.6414, 23.9783, 95.6599)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AFD #D0FD6A
analogous
#6A87FD #976AFD #E06AFD
triadic
#976AFD #FD976A #6AFD97
tetradic
#976AFD #FD6A87 #D0FD6A #6AFDE0
square
#976AFD #FD6A87 #D0FD6A #6AFDE0
split-complementary
#976AFD #FDE06A #87FD6A
monochromatic
#4A03E9 #6D2EFC #976AFD #C1A6FE #EAE1FF

Accessibility & contrast

On white

3.62
#976AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#976AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AFD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AFD#FFFFFF#000000##000000
##976AFD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#1F84FA
Tritanopia (blue-blind)
#7C8AAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976afd;
/* rgb */ color: rgb(151, 106, 253);
/* oklch */ color: oklch(64.2% 0.209 293.8);
Tailwind
colors: {
  custom: {
    50: '#bb96ff',
    500: '#976afd',
    950: '#000000',
  },
}
SCSS
$custom: #976afd;
$custom-light: #bb96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#976afd",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 258.367,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.20939,
    "h": 293.8
  },
  "luminance": 0.23979
}

Semantic roles & 50–950 ramp

primary
#976AFD
secondary
#E9F6CD
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #976AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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