#976FDF#976FDF

#976FDF is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.1% C 0.165 H 298.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#976FDF
RGBrgb(151, 111, 223)
HSLhsl(261, 64%, 65%)
HSVhsv(261, 50%, 87%)
CMYKcmyk(32.3%, 50.2%, 0%, 12.5%)
CIE-LABlab(55.36, 39.41, -51.71)
CIE-LCHlch(55.36, 65.02, 307.31°)
OKLaboklab(63.14% 0.0775 -0.1459)
OKLCHoklch(63.14% 0.165 298)
XYZxyz(31.7630, 23.2756, 72.6169)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FDF #B7DF6F
analogous
#6F7FDF #976FDF #CF6FDF
triadic
#976FDF #DF976F #6FDF97
tetradic
#976FDF #DF6F7F #B7DF6F #6FDFCF
square
#976FDF #DF6F7F #B7DF6F #6FDFCF
split-complementary
#976FDF #DFCF6F #7FDF6F
monochromatic
#5726AD #733DD4 #976FDF #BBA1EA #DFD3F5

Accessibility & contrast

On white

3.71
#976FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#976FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FDF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FDF#FFFFFF#000000##000000
##976FDF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#5183DC
Tritanopia (blue-blind)
#88849D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976fdf;
/* rgb */ color: rgb(151, 111, 223);
/* oklch */ color: oklch(63.1% 0.165 298.0);
Tailwind
colors: {
  custom: {
    50: '#b999e9',
    500: '#976fdf',
    950: '#000000',
  },
}
SCSS
$custom: #976fdf;
$custom-light: #b999e9;
$custom-dark: #000000;
JSON
{
  "hex": "#976fdf",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 261.429,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.16519,
    "h": 298
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#976FDF
secondary
#DAE8C2
accent
#CB1A8C
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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