#976AFF#976AFF

#976AFF is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.4% C 0.212 H 293.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#976AFF
RGBrgb(151, 106, 255)
HSLhsl(258, 100%, 71%)
HSVhsv(258, 58%, 100%)
CMYKcmyk(40.8%, 58.4%, 0%, 0%)
CIE-LABlab(56.19, 50.45, -68.20)
CIE-LCHlch(56.19, 84.83, 306.49°)
OKLaboklab(64.37% 0.0844 -0.1942)
OKLCHoklch(64.37% 0.212 293.5)
XYZxyz(35.9617, 24.1064, 97.3466)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AFF #D2FF6A
analogous
#6A87FF #976AFF #E26AFF
triadic
#976AFF #FF976A #6AFF97
tetradic
#976AFF #FF6A87 #D2FF6A #6AFFE2
square
#976AFF #FF6A87 #D2FF6A #6AFFE2
split-complementary
#976AFF #FFE26A #87FF6A
monochromatic
#4800EF #6C2DFF #976AFF #C2A7FF #EAE0FF

Accessibility & contrast

On white

3.61
#976AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#976AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AFF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AFF#FFFFFF#000000##000000
##976AFF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#1984FC
Tritanopia (blue-blind)
#7B8BAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976aff;
/* rgb */ color: rgb(151, 106, 255);
/* oklch */ color: oklch(64.4% 0.212 293.5);
Tailwind
colors: {
  custom: {
    50: '#bc96ff',
    500: '#976aff',
    950: '#000000',
  },
}
SCSS
$custom: #976aff;
$custom-light: #bc96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#976aff",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 258.121,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6437,
    "c": 0.21179,
    "h": 293.5
  },
  "luminance": 0.24107
}

Semantic roles & 50–950 ramp

primary
#976AFF
secondary
#EAF6CE
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #976AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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