#976BEF#976BEF

#976BEF is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.5% C 0.191 H 295.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#976BEF
RGBrgb(151, 107, 239)
HSLhsl(260, 80%, 68%)
HSVhsv(260, 55%, 94%)
CMYKcmyk(36.8%, 55.2%, 0%, 6.3%)
CIE-LABlab(55.41, 45.74, -60.59)
CIE-LCHlch(55.41, 75.91, 307.05°)
OKLaboklab(63.47% 0.0833 -0.1719)
OKLCHoklch(63.47% 0.191 295.9)
XYZxyz(33.5962, 23.3261, 84.3770)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BEF #C3EF6B
analogous
#6B81EF #976BEF #D96BEF
triadic
#976BEF #EF976B #6BEF97
tetradic
#976BEF #EF6B81 #C3EF6B #6BEFD9
square
#976BEF #EF6B81 #C3EF6B #6BEFD9
split-complementary
#976BEF #EFD96B #81EF6B
monochromatic
#5216CA #7034E9 #976BEF #BEA2F5 #E5D9FB

Accessibility & contrast

On white

3.71
#976BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#976BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BEF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BEF#FFFFFF#000000##000000
##976BEF1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F3
Deuteranopia (green-blind)
#3B83EC
Tritanopia (blue-blind)
#8286A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976bef;
/* rgb */ color: rgb(151, 107, 239);
/* oklch */ color: oklch(63.5% 0.191 295.9);
Tailwind
colors: {
  custom: {
    50: '#ba97f5',
    500: '#976bef',
    950: '#000000',
  },
}
SCSS
$custom: #976bef;
$custom-light: #ba97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#976bef",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63473,
    "c": 0.19102,
    "h": 295.9
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#976BEF
secondary
#E2EFC7
accent
#DD0996
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #976BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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