#976CE8#976CE8

#976CE8 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.2% C 0.181 H 296.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#976CE8
RGBrgb(151, 108, 232)
HSLhsl(261, 73%, 67%)
HSVhsv(261, 53%, 91%)
CMYKcmyk(34.9%, 53.4%, 0%, 9%)
CIE-LABlab(55.21, 43.38, -57.00)
CIE-LCHlch(55.21, 71.63, 307.28°)
OKLaboklab(63.19% 0.0819 -0.1613)
OKLCHoklch(63.19% 0.181 296.9)
XYZxyz(32.6869, 23.1302, 79.0707)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CE8 #BDE86C
analogous
#6C7FE8 #976CE8 #D56CE8
triadic
#976CE8 #E8976C #6CE897
tetradic
#976CE8 #E86C7F #BDE86C #6CE8D5
square
#976CE8 #E86C7F #BDE86C #6CE8D5
split-complementary
#976CE8 #E8D56C #7FE86C
monochromatic
#541DBC #7237E0 #976CE8 #BCA1F0 #E2D6F9

Accessibility & contrast

On white

3.73
#976CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#976CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CE8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CE8#FFFFFF#000000##000000
##976CE81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#8585A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976ce8;
/* rgb */ color: rgb(151, 108, 232);
/* oklch */ color: oklch(63.2% 0.181 296.9);
Tailwind
colors: {
  custom: {
    50: '#ba97f0',
    500: '#976ce8',
    950: '#000000',
  },
}
SCSS
$custom: #976ce8;
$custom-light: #ba97f0;
$custom-dark: #000000;
JSON
{
  "hex": "#976ce8",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 260.806,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.18095,
    "h": 296.9
  },
  "luminance": 0.23131
}

Semantic roles & 50–950 ramp

primary
#976CE8
secondary
#DEECC4
accent
#D51091
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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