#976AF8#976AF8

#976AF8 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 63.9% C 0.203 H 294.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#976AF8
RGBrgb(151, 106, 248)
HSLhsl(259, 91%, 69%)
HSVhsv(259, 57%, 97%)
CMYKcmyk(39.1%, 57.3%, 0%, 2.7%)
CIE-LABlab(55.75, 48.62, -65.04)
CIE-LCHlch(55.75, 81.21, 306.78°)
OKLaboklab(63.9% 0.0845 -0.185)
OKLCHoklch(63.9% 0.203 294.6)
XYZxyz(34.8553, 23.6639, 91.5199)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AF8 #CBF86A
analogous
#6A84F8 #976AF8 #DE6AF8
triadic
#976AF8 #F8976A #6AF897
tetradic
#976AF8 #F86A84 #CBF86A #6AF8DE
square
#976AF8 #F86A84 #CBF86A #6AF8DE
split-complementary
#976AF8 #F8DE6A #84F86A
monochromatic
#4D0ADD #6E30F5 #976AF8 #C0A4FB #E9DFFD

Accessibility & contrast

On white

3.66
#976AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#976AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AF8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AF8#FFFFFF#000000##000000
##976AF81.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1387FD
Deuteranopia (green-blind)
#2B83F5
Tritanopia (blue-blind)
#7E89A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976af8;
/* rgb */ color: rgb(151, 106, 248);
/* oklch */ color: oklch(63.9% 0.203 294.6);
Tailwind
colors: {
  custom: {
    50: '#bb96fb',
    500: '#976af8',
    950: '#000000',
  },
}
SCSS
$custom: #976af8;
$custom-light: #bb96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#976af8",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 259.014,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63902,
    "c": 0.20337,
    "h": 294.6
  },
  "luminance": 0.23665
}

Semantic roles & 50–950 ramp

primary
#976AF8
secondary
#E6F3CA
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #976AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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