#976CEE#976CEE

#976CEE is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.6% C 0.188 H 295.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#976CEE
RGBrgb(151, 108, 238)
HSLhsl(260, 79%, 68%)
HSVhsv(260, 55%, 93%)
CMYKcmyk(36.6%, 54.6%, 0%, 6.7%)
CIE-LABlab(55.56, 44.93, -59.78)
CIE-LCHlch(55.56, 74.78, 306.92°)
OKLaboklab(63.57% 0.0821 -0.1695)
OKLCHoklch(63.57% 0.188 295.8)
XYZxyz(33.5537, 23.4769, 83.6360)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CEE #C3EE6C
analogous
#6C82EE #976CEE #D86CEE
triadic
#976CEE #EE976C #6CEE97
tetradic
#976CEE #EE6C82 #C3EE6C #6CEED8
square
#976CEE #EE6C82 #C3EE6C #6CEED8
split-complementary
#976CEE #EED86C #82EE6C
monochromatic
#5217C8 #7035E8 #976CEE #BEA3F4 #E5DAFB

Accessibility & contrast

On white

3.69
#976CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#976CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CEE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CEE#FFFFFF#000000##000000
##976CEE1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F2
Deuteranopia (green-blind)
#3E83EB
Tritanopia (blue-blind)
#8287A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976cee;
/* rgb */ color: rgb(151, 108, 238);
/* oklch */ color: oklch(63.6% 0.188 295.8);
Tailwind
colors: {
  custom: {
    50: '#ba97f4',
    500: '#976cee',
    950: '#000000',
  },
}
SCSS
$custom: #976cee;
$custom-light: #ba97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#976cee",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 259.846,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63567,
    "c": 0.18836,
    "h": 295.8
  },
  "luminance": 0.23477
}

Semantic roles & 50–950 ramp

primary
#976CEE
secondary
#E2EFC7
accent
#DC0A96
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #976CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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