#976BE2#976BE2

#976BE2 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.7% C 0.175 H 298.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#976BE2
RGBrgb(151, 107, 226)
HSLhsl(262, 67%, 65%)
HSVhsv(262, 53%, 89%)
CMYKcmyk(33.2%, 52.7%, 0%, 11.4%)
CIE-LABlab(54.64, 42.41, -54.54)
CIE-LCHlch(54.64, 69.09, 307.87°)
OKLaboklab(62.66% 0.0829 -0.1541)
OKLCHoklch(62.66% 0.175 298.3)
XYZxyz(31.7443, 22.5853, 74.6237)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BE2 #B6E26B
analogous
#6B7AE2 #976BE2 #D36BE2
triadic
#976BE2 #E2976B #6BE297
tetradic
#976BE2 #E26B7A #B6E26B #6BE2D3
square
#976BE2 #E26B7A #B6E26B #6BE2D3
split-complementary
#976BE2 #E2D36B #7AE26B
monochromatic
#5723B0 #7338D8 #976BE2 #BB9EEC #DFD1F6

Accessibility & contrast

On white

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

On black

5.52
#976BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BE2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BE2#FFFFFF#000000##000000
##976BE21.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E6
Deuteranopia (green-blind)
#4982DF
Tritanopia (blue-blind)
#87829C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976be2;
/* rgb */ color: rgb(151, 107, 226);
/* oklch */ color: oklch(62.7% 0.175 298.3);
Tailwind
colors: {
  custom: {
    50: '#b996ec',
    500: '#976be2',
    950: '#000000',
  },
}
SCSS
$custom: #976be2;
$custom-light: #b996ec;
$custom-dark: #000000;
JSON
{
  "hex": "#976be2",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 262.185,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62662,
    "c": 0.17499,
    "h": 298.3
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#976BE2
secondary
#DAE8C0
accent
#CF168B
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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