#976BE6#976BE6

#976BE6 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.180 H 297.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#976BE6
RGBrgb(151, 107, 230)
HSLhsl(261, 71%, 66%)
HSVhsv(261, 53%, 90%)
CMYKcmyk(34.3%, 53.5%, 0%, 9.8%)
CIE-LABlab(54.87, 43.43, -56.41)
CIE-LCHlch(54.87, 71.19, 307.59°)
OKLaboklab(62.91% 0.0831 -0.1596)
OKLCHoklch(62.91% 0.18 297.5)
XYZxyz(32.2996, 22.8074, 77.5481)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BE6 #BAE66B
analogous
#6B7CE6 #976BE6 #D46BE6
triadic
#976BE6 #E6976B #6BE697
tetradic
#976BE6 #E66B7C #BAE66B #6BE6D4
square
#976BE6 #E66B7C #BAE66B #6BE6D4
split-complementary
#976BE6 #E6D46B #7CE66B
monochromatic
#561FB8 #7237DD #976BE6 #BC9FEF #E1D4F8

Accessibility & contrast

On white

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

On black

5.56
#976BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BE6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BE6#FFFFFF#000000##000000
##976BE61.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#4582E3
Tritanopia (blue-blind)
#85849E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976be6;
/* rgb */ color: rgb(151, 107, 230);
/* oklch */ color: oklch(62.9% 0.180 297.5);
Tailwind
colors: {
  custom: {
    50: '#b996ee',
    500: '#976be6',
    950: '#000000',
  },
}
SCSS
$custom: #976be6;
$custom-light: #b996ee;
$custom-dark: #000000;
JSON
{
  "hex": "#976be6",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 261.463,
    "s": 71.098,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.17995,
    "h": 297.5
  },
  "luminance": 0.22808
}

Semantic roles & 50–950 ramp

primary
#976BE6
secondary
#DCEBC2
accent
#D3128E
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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