#976BDF#976BDF

#976BDF is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.5% C 0.171 H 298.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#976BDF
RGBrgb(151, 107, 223)
HSLhsl(263, 64%, 65%)
HSVhsv(263, 52%, 87%)
CMYKcmyk(32.3%, 52%, 0%, 12.5%)
CIE-LABlab(54.47, 41.66, -53.12)
CIE-LCHlch(54.47, 67.51, 308.10°)
OKLaboklab(62.48% 0.0827 -0.15)
OKLCHoklch(62.48% 0.171 298.9)
XYZxyz(31.3363, 22.4221, 72.4747)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BDF #B3DF6B
analogous
#6B79DF #976BDF #D16BDF
triadic
#976BDF #DF976B #6BDF97
tetradic
#976BDF #DF6B79 #B3DF6B #6BDFD1
square
#976BDF #DF6B79 #B3DF6B #6BDFD1
split-complementary
#976BDF #DFD16B #79DF6B
monochromatic
#5825AB #7439D4 #976BDF #BA9DEA #DED0F5

Accessibility & contrast

On white

3.83
#976BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#976BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BDF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BDF#FFFFFF#000000##000000
##976BDF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#4C81DC
Tritanopia (blue-blind)
#88829B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #976bdf;
/* rgb */ color: rgb(151, 107, 223);
/* oklch */ color: oklch(62.5% 0.171 298.9);
Tailwind
colors: {
  custom: {
    50: '#b996e9',
    500: '#976bdf',
    950: '#000000',
  },
}
SCSS
$custom: #976bdf;
$custom-light: #b996e9;
$custom-dark: #000000;
JSON
{
  "hex": "#976bdf",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 262.759,
    "s": 64.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62481,
    "c": 0.17126,
    "h": 298.9
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

primary
#976BDF
secondary
#D8E7BF
accent
#CC1988
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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