#976BE5#976BE5

#976BE5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.179 H 297.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#976BE5
RGBrgb(151, 107, 229)
HSLhsl(262, 70%, 66%)
HSVhsv(262, 53%, 90%)
CMYKcmyk(34.1%, 53.3%, 0%, 10.2%)
CIE-LABlab(54.82, 43.17, -55.94)
CIE-LCHlch(54.82, 70.67, 307.66°)
OKLaboklab(62.85% 0.083 -0.1582)
OKLCHoklch(62.85% 0.179 297.7)
XYZxyz(32.1595, 22.7514, 76.8107)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BE5 #B9E56B
analogous
#6B7CE5 #976BE5 #D46BE5
triadic
#976BE5 #E5976B #6BE597
tetradic
#976BE5 #E56B7C #B9E56B #6BE5D4
square
#976BE5 #E56B7C #B9E56B #6BE5D4
split-complementary
#976BE5 #E5D46B #7CE56B
monochromatic
#5620B6 #7237DC #976BE5 #BC9FEE #E0D3F7

Accessibility & contrast

On white

3.78
#976BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#976BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BE5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BE5#FFFFFF#000000##000000
##976BE51.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E9
Deuteranopia (green-blind)
#4682E2
Tritanopia (blue-blind)
#86839E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976be5;
/* rgb */ color: rgb(151, 107, 229);
/* oklch */ color: oklch(62.8% 0.179 297.7);
Tailwind
colors: {
  custom: {
    50: '#b996ee',
    500: '#976be5',
    950: '#000000',
  },
}
SCSS
$custom: #976be5;
$custom-light: #b996ee;
$custom-dark: #000000;
JSON
{
  "hex": "#976be5",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 261.639,
    "s": 70.115,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.1787,
    "h": 297.7
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#976BE5
secondary
#DCEAC2
accent
#D2138D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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