#976FD2#976FD2

#976FD2 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.4% C 0.149 H 300.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#976FD2
RGBrgb(151, 111, 210)
HSLhsl(264, 52%, 63%)
HSVhsv(264, 47%, 82%)
CMYKcmyk(28.1%, 47.1%, 0%, 17.6%)
CIE-LABlab(54.66, 36.16, -45.48)
CIE-LCHlch(54.66, 58.10, 308.49°)
OKLaboklab(62.39% 0.0762 -0.1276)
OKLCHoklch(62.39% 0.149 300.8)
XYZxyz(30.0771, 22.6012, 63.7382)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FD2 #AAD26F
analogous
#6F79D2 #976FD2 #C86FD2
triadic
#976FD2 #D2976F #6FD297
tetradic
#976FD2 #D26F79 #AAD26F #6FD2C8
square
#976FD2 #D26F79 #AAD26F #6FD2C8
split-complementary
#976FD2 #D2C86F #79D26F
monochromatic
#592F97 #7540C3 #976FD2 #B99EE1 #DACCEF

Accessibility & contrast

On white

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

On black

5.52
#976FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FD2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FD2#FFFFFF#000000##000000
##976FD21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D6
Deuteranopia (green-blind)
#5B82D0
Tritanopia (blue-blind)
#8C8196
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976fd2;
/* rgb */ color: rgb(151, 111, 210);
/* oklch */ color: oklch(62.4% 0.149 300.8);
Tailwind
colors: {
  custom: {
    50: '#b899e0',
    500: '#976fd2',
    950: '#000000',
  },
}
SCSS
$custom: #976fd2;
$custom-light: #b899e0;
$custom-dark: #000000;
JSON
{
  "hex": "#976fd2",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 264.242,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62392,
    "c": 0.14865,
    "h": 300.8
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#976FD2
secondary
#D2E0BD
accent
#C02682
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #976FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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