#976FD5#976FD5

#976FD5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.6% C 0.152 H 300.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#976FD5
RGBrgb(151, 111, 213)
HSLhsl(264, 55%, 64%)
HSVhsv(264, 48%, 84%)
CMYKcmyk(29.1%, 47.9%, 0%, 16.5%)
CIE-LABlab(54.82, 36.90, -46.93)
CIE-LCHlch(54.82, 59.70, 308.18°)
OKLaboklab(62.56% 0.0766 -0.1319)
OKLCHoklch(62.56% 0.152 300.1)
XYZxyz(30.4544, 22.7521, 65.7250)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FD5 #ADD56F
analogous
#6F7AD5 #976FD5 #CA6FD5
triadic
#976FD5 #D5976F #6FD597
tetradic
#976FD5 #D56F7A #ADD56F #6FD5CA
square
#976FD5 #D56F7A #ADD56F #6FD5CA
split-complementary
#976FD5 #D5CA6F #7AD56F
monochromatic
#592E9C #7540C7 #976FD5 #B99EE3 #DBCEF1

Accessibility & contrast

On white

3.78
#976FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#976FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FD5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FD5#FFFFFF#000000##000000
##976FD51.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83D9
Deuteranopia (green-blind)
#5983D2
Tritanopia (blue-blind)
#8B8298
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976fd5;
/* rgb */ color: rgb(151, 111, 213);
/* oklch */ color: oklch(62.6% 0.152 300.1);
Tailwind
colors: {
  custom: {
    50: '#b899e2',
    500: '#976fd5',
    950: '#000000',
  },
}
SCSS
$custom: #976fd5;
$custom-light: #b899e2;
$custom-dark: #000000;
JSON
{
  "hex": "#976fd5",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 263.529,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.15249,
    "h": 300.1
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#976FD5
secondary
#D4E2BE
accent
#C22384
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #976FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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