#976EE4#976EE4

#976EE4 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.173 H 297.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#976EE4
RGBrgb(151, 110, 228)
HSLhsl(261, 69%, 66%)
HSVhsv(261, 52%, 89%)
CMYKcmyk(33.8%, 51.8%, 0%, 10.6%)
CIE-LABlab(55.41, 41.24, -54.43)
CIE-LCHlch(55.41, 68.29, 307.15°)
OKLaboklab(63.27% 0.0792 -0.1538)
OKLCHoklch(63.27% 0.173 297.2)
XYZxyz(32.3385, 23.3322, 76.1835)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EE4 #BBE46E
analogous
#6E80E4 #976EE4 #D26EE4
triadic
#976EE4 #E4976E #6EE497
tetradic
#976EE4 #E46E80 #BBE46E #6EE4D2
square
#976EE4 #E46E80 #BBE46E #6EE4D2
split-complementary
#976EE4 #E4D26E #80E46E
monochromatic
#5522B6 #723ADA #976EE4 #BCA2EE #E1D5F7

Accessibility & contrast

On white

3.71
#976EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#976EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EE4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EE4#FFFFFF#000000##000000
##976EE41.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#86859F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976ee4;
/* rgb */ color: rgb(151, 110, 228);
/* oklch */ color: oklch(63.3% 0.173 297.2);
Tailwind
colors: {
  custom: {
    50: '#b998ed',
    500: '#976ee4',
    950: '#000000',
  },
}
SCSS
$custom: #976ee4;
$custom-light: #b998ed;
$custom-dark: #000000;
JSON
{
  "hex": "#976ee4",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 260.847,
    "s": 68.605,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6327,
    "c": 0.173,
    "h": 297.2
  },
  "luminance": 0.23333
}

Semantic roles & 50–950 ramp

primary
#976EE4
secondary
#DDEAC4
accent
#D1158F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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