#976BE7#976BE7

#976BE7 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.0% C 0.181 H 297.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#976BE7
RGBrgb(151, 107, 231)
HSLhsl(261, 72%, 66%)
HSVhsv(261, 54%, 91%)
CMYKcmyk(34.6%, 53.7%, 0%, 9.4%)
CIE-LABlab(54.93, 43.68, -56.88)
CIE-LCHlch(54.93, 71.72, 307.52°)
OKLaboklab(62.97% 0.0831 -0.161)
OKLCHoklch(62.97% 0.181 297.3)
XYZxyz(32.4404, 22.8638, 78.2898)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BE7 #BBE76B
analogous
#6B7DE7 #976BE7 #D56BE7
triadic
#976BE7 #E7976B #6BE797
tetradic
#976BE7 #E76B7D #BBE76B #6BE7D5
square
#976BE7 #E76B7D #BBE76B #6BE7D5
split-complementary
#976BE7 #E7D56B #7DE76B
monochromatic
#551EBA #7236DE #976BE7 #BCA0F0 #E1D4F8

Accessibility & contrast

On white

3.77
#976BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#976BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BE7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BE7#FFFFFF#000000##000000
##976BE71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#4482E4
Tritanopia (blue-blind)
#85849F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976be7;
/* rgb */ color: rgb(151, 107, 231);
/* oklch */ color: oklch(63.0% 0.181 297.3);
Tailwind
colors: {
  custom: {
    50: '#ba96ef',
    500: '#976be7',
    950: '#000000',
  },
}
SCSS
$custom: #976be7;
$custom-light: #ba96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#976be7",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 261.29,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62969,
    "c": 0.18118,
    "h": 297.3
  },
  "luminance": 0.22864
}

Semantic roles & 50–950 ramp

primary
#976BE7
secondary
#DDEBC3
accent
#D4118F
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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