#976BE1#976BE1

#976BE1 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.6% C 0.174 H 298.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#976BE1
RGBrgb(151, 107, 225)
HSLhsl(262, 66%, 65%)
HSVhsv(262, 52%, 88%)
CMYKcmyk(32.9%, 52.4%, 0%, 11.8%)
CIE-LABlab(54.59, 42.16, -54.07)
CIE-LCHlch(54.59, 68.56, 307.95°)
OKLaboklab(62.6% 0.0828 -0.1527)
OKLCHoklch(62.6% 0.174 298.5)
XYZxyz(31.6075, 22.5306, 73.9032)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BE1 #B5E16B
analogous
#6B7AE1 #976BE1 #D26BE1
triadic
#976BE1 #E1976B #6BE197
tetradic
#976BE1 #E16B7A #B5E16B #6BE1D2
square
#976BE1 #E16B7A #B5E16B #6BE1D2
split-complementary
#976BE1 #E1D26B #7AE16B
monochromatic
#5723AE #7338D7 #976BE1 #BB9EEB #DFD1F6

Accessibility & contrast

On white

3.81
#976BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#976BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BE1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BE1#FFFFFF#000000##000000
##976BE11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E5
Deuteranopia (green-blind)
#4A81DE
Tritanopia (blue-blind)
#87829C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976be1;
/* rgb */ color: rgb(151, 107, 225);
/* oklch */ color: oklch(62.6% 0.174 298.5);
Tailwind
colors: {
  custom: {
    50: '#b996eb',
    500: '#976be1',
    950: '#000000',
  },
}
SCSS
$custom: #976be1;
$custom-light: #b996eb;
$custom-dark: #000000;
JSON
{
  "hex": "#976be1",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 225
  },
  "hsl": {
    "h": 262.373,
    "s": 66.292,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62601,
    "c": 0.17375,
    "h": 298.5
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#976BE1
secondary
#D9E8C0
accent
#CE178A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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