#9976E4#9976E4

#9976E4 is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.8% C 0.161 H 296.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9976E4
RGBrgb(153, 118, 228)
HSLhsl(259, 67%, 68%)
HSVhsv(259, 48%, 89%)
CMYKcmyk(32.9%, 48.2%, 0%, 10.6%)
CIE-LABlab(57.40, 37.23, -51.26)
CIE-LCHlch(57.40, 63.35, 305.99°)
OKLaboklab(64.79% 0.0714 -0.1445)
OKLCHoklch(64.79% 0.161 296.3)
XYZxyz(33.6154, 25.3301, 76.5019)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9976E4 #C1E476
analogous
#768AE4 #9976E4 #D076E4
triadic
#9976E4 #E49976 #76E499
tetradic
#9976E4 #E4768A #C1E476 #76E4D0
square
#9976E4 #E4768A #C1E476 #76E4D0
split-complementary
#9976E4 #E4D076 #8AE476
monochromatic
#5525BB #7343DA #9976E4 #BFA9EE #E5DCF8

Accessibility & contrast

On white

3.46
#9976E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9976E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9976E4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9976E4#FFFFFF#000000##000000
##9976E41.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#5788E1
Tritanopia (blue-blind)
#888BA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9976e4;
/* rgb */ color: rgb(153, 118, 228);
/* oklch */ color: oklch(64.8% 0.161 296.3);
Tailwind
colors: {
  custom: {
    50: '#ba9eed',
    500: '#9976e4',
    950: '#000000',
  },
}
SCSS
$custom: #9976e4;
$custom-light: #ba9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#9976e4",
  "rgb": {
    "r": 153,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 259.091,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64793,
    "c": 0.16114,
    "h": 296.3
  },
  "luminance": 0.25331
}

Semantic roles & 50–950 ramp

primary
#9976E4
secondary
#E1ECCA
accent
#CF1794
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9976E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9976E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva