#976AF5#976AF5

#976AF5 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.7% C 0.200 H 295.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#976AF5
RGBrgb(151, 106, 245)
HSLhsl(259, 87%, 69%)
HSVhsv(259, 57%, 96%)
CMYKcmyk(38.4%, 56.7%, 0%, 3.9%)
CIE-LABlab(55.56, 47.84, -63.68)
CIE-LCHlch(55.56, 79.65, 306.92°)
OKLaboklab(63.71% 0.0846 -0.181)
OKLCHoklch(63.71% 0.2 295)
XYZxyz(34.3937, 23.4792, 89.0884)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AF5 #C8F56A
analogous
#6A83F5 #976AF5 #DC6AF5
triadic
#976AF5 #F5976A #6AF597
tetradic
#976AF5 #F56A83 #C8F56A #6AF5DC
square
#976AF5 #F56A83 #C8F56A #6AF5DC
split-complementary
#976AF5 #F5DC6A #83F56A
monochromatic
#4F0ED6 #6F31F1 #976AF5 #BFA3F9 #E7DDFD

Accessibility & contrast

On white

3.69
#976AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#976AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AF5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AF5#FFFFFF#000000##000000
##976AF51.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C86FA
Deuteranopia (green-blind)
#3083F2
Tritanopia (blue-blind)
#8088A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976af5;
/* rgb */ color: rgb(151, 106, 245);
/* oklch */ color: oklch(63.7% 0.200 295.0);
Tailwind
colors: {
  custom: {
    50: '#bb96f9',
    500: '#976af5',
    950: '#000000',
  },
}
SCSS
$custom: #976af5;
$custom-light: #bb96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#976af5",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 259.424,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63705,
    "c": 0.19974,
    "h": 295
  },
  "luminance": 0.2348
}

Semantic roles & 50–950 ramp

primary
#976AF5
secondary
#E5F2C9
accent
#E4029B
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #976AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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