#976DEF#976DEF

#976DEF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.188 H 295.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#976DEF
RGBrgb(151, 109, 239)
HSLhsl(259, 80%, 68%)
HSVhsv(259, 54%, 94%)
CMYKcmyk(36.8%, 54.4%, 0%, 6.3%)
CIE-LABlab(55.83, 44.63, -59.90)
CIE-LCHlch(55.83, 74.70, 306.69°)
OKLaboklab(63.79% 0.0809 -0.1699)
OKLCHoklch(63.79% 0.188 295.5)
XYZxyz(33.8071, 23.7479, 84.4473)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DEF #C5EF6D
analogous
#6D84EF #976DEF #D86DEF
triadic
#976DEF #EF976D #6DEF97
tetradic
#976DEF #EF6D84 #C5EF6D #6DEFD8
square
#976DEF #EF6D84 #C5EF6D #6DEFD8
split-complementary
#976DEF #EFD86D #84EF6D
monochromatic
#5116CB #7036E9 #976DEF #BEA4F5 #E6DBFB

Accessibility & contrast

On white

3.65
#976DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#976DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DEF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DEF#FFFFFF#000000##000000
##976DEF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3187F3
Deuteranopia (green-blind)
#3E84EC
Tritanopia (blue-blind)
#8288A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976def;
/* rgb */ color: rgb(151, 109, 239);
/* oklch */ color: oklch(63.8% 0.188 295.5);
Tailwind
colors: {
  custom: {
    50: '#ba98f5',
    500: '#976def',
    950: '#000000',
  },
}
SCSS
$custom: #976def;
$custom-light: #ba98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#976def",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 259.385,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63788,
    "c": 0.18816,
    "h": 295.5
  },
  "luminance": 0.23749
}

Semantic roles & 50–950 ramp

primary
#976DEF
secondary
#E3F0C8
accent
#DD0998
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #976DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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