#976FD7#976FD7

#976FD7 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.7% C 0.155 H 299.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#976FD7
RGBrgb(151, 111, 215)
HSLhsl(263, 57%, 64%)
HSVhsv(263, 48%, 84%)
CMYKcmyk(29.8%, 48.4%, 0%, 15.7%)
CIE-LABlab(54.92, 37.40, -47.89)
CIE-LCHlch(54.92, 60.76, 307.99°)
OKLaboklab(62.67% 0.0768 -0.1347)
OKLCHoklch(62.67% 0.155 299.7)
XYZxyz(30.7098, 22.8543, 67.0702)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FD7 #AFD76F
analogous
#6F7BD7 #976FD7 #CB6FD7
triadic
#976FD7 #D7976F #6FD797
tetradic
#976FD7 #D76F7B #AFD76F #6FD7CB
square
#976FD7 #D76F7B #AFD76F #6FD7CB
split-complementary
#976FD7 #D7CB6F #7BD76F
monochromatic
#592C9F #743FCA #976FD7 #BA9FE4 #DCCFF2

Accessibility & contrast

On white

3.77
#976FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#976FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FD7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FD7#FFFFFF#000000##000000
##976FD71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83DB
Deuteranopia (green-blind)
#5783D4
Tritanopia (blue-blind)
#8A8299
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976fd7;
/* rgb */ color: rgb(151, 111, 215);
/* oklch */ color: oklch(62.7% 0.155 299.7);
Tailwind
colors: {
  custom: {
    50: '#b899e4',
    500: '#976fd7',
    950: '#000000',
  },
}
SCSS
$custom: #976fd7;
$custom-light: #b899e4;
$custom-dark: #000000;
JSON
{
  "hex": "#976fd7",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 215
  },
  "hsl": {
    "h": 263.077,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62673,
    "c": 0.15503,
    "h": 299.7
  },
  "luminance": 0.22854
}

Semantic roles & 50–950 ramp

primary
#976FD7
secondary
#D5E3BF
accent
#C42186
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E15
muted
#817E84

Preview Lab

Preview with #976FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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