#976CDF#976CDF

#976CDF is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.6% C 0.170 H 298.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#976CDF
RGBrgb(151, 108, 223)
HSLhsl(262, 64%, 65%)
HSVhsv(262, 52%, 87%)
CMYKcmyk(32.3%, 51.6%, 0%, 12.5%)
CIE-LABlab(54.69, 41.10, -52.77)
CIE-LCHlch(54.69, 66.89, 307.91°)
OKLaboklab(62.64% 0.0814 -0.149)
OKLCHoklch(62.64% 0.17 298.7)
XYZxyz(31.4411, 22.6318, 72.5097)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CDF #B4DF6C
analogous
#6C7ADF #976CDF #D16CDF
triadic
#976CDF #DF976C #6CDF97
tetradic
#976CDF #DF6C7A #B4DF6C #6CDFD1
square
#976CDF #DF6C7A #B4DF6C #6CDFD1
split-complementary
#976CDF #DFD16C #7ADF6C
monochromatic
#5725AB #733AD4 #976CDF #BB9EEA #DED1F5

Accessibility & contrast

On white

3.80
#976CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#976CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CDF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CDF#FFFFFF#000000##000000
##976CDF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#4D82DC
Tritanopia (blue-blind)
#88829B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976cdf;
/* rgb */ color: rgb(151, 108, 223);
/* oklch */ color: oklch(62.6% 0.170 298.7);
Tailwind
colors: {
  custom: {
    50: '#b997e9',
    500: '#976cdf',
    950: '#000000',
  },
}
SCSS
$custom: #976cdf;
$custom-light: #b997e9;
$custom-dark: #000000;
JSON
{
  "hex": "#976cdf",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 262.435,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62643,
    "c": 0.16975,
    "h": 298.7
  },
  "luminance": 0.22632
}

Semantic roles & 50–950 ramp

primary
#976CDF
secondary
#D8E7C0
accent
#CC1989
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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