#976EDA#976EDA

#976EDA is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.7% C 0.160 H 299.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#976EDA
RGBrgb(151, 110, 218)
HSLhsl(263, 59%, 64%)
HSVhsv(263, 50%, 85%)
CMYKcmyk(30.7%, 49.5%, 0%, 14.5%)
CIE-LABlab(54.86, 38.71, -49.69)
CIE-LCHlch(54.86, 62.99, 307.92°)
OKLaboklab(62.68% 0.0784 -0.1399)
OKLCHoklch(62.68% 0.16 299.3)
XYZxyz(30.9903, 22.7929, 69.0828)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EDA #B1DA6E
analogous
#6E7BDA #976EDA #CD6EDA
triadic
#976EDA #DA976E #6EDA97
tetradic
#976EDA #DA6E7B #B1DA6E #6EDACD
square
#976EDA #DA6E7B #B1DA6E #6EDACD
split-complementary
#976EDA #DACD6E #7BDA6E
monochromatic
#582AA4 #743DCE #976EDA #BA9FE6 #DDD0F3

Accessibility & contrast

On white

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

On black

5.56
#976EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EDA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EDA#FFFFFF#000000##000000
##976EDA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#89829A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976eda;
/* rgb */ color: rgb(151, 110, 218);
/* oklch */ color: oklch(62.7% 0.160 299.3);
Tailwind
colors: {
  custom: {
    50: '#b898e6',
    500: '#976eda',
    950: '#000000',
  },
}
SCSS
$custom: #976eda;
$custom-light: #b898e6;
$custom-dark: #000000;
JSON
{
  "hex": "#976eda",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 262.778,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62678,
    "c": 0.1604,
    "h": 299.3
  },
  "luminance": 0.22793
}

Semantic roles & 50–950 ramp

primary
#976EDA
secondary
#D6E5BF
accent
#C71F87
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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