#976EFB#976EFB

#976EFB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.7% C 0.202 H 293.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#976EFB
RGBrgb(151, 110, 251)
HSLhsl(257, 95%, 71%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(39.8%, 56.2%, 0%, 1.6%)
CIE-LABlab(56.78, 47.22, -65.05)
CIE-LCHlch(56.78, 80.38, 305.97°)
OKLaboklab(64.72% 0.0799 -0.185)
OKLCHoklch(64.72% 0.202 293.4)
XYZxyz(35.7464, 24.6953, 94.1314)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EFB #D2FB6E
analogous
#6E8BFB #976EFB #DE6EFB
triadic
#976EFB #FB976E #6EFB97
tetradic
#976EFB #FB6E8B #D2FB6E #6EFBDE
square
#976EFB #FB6E8B #D2FB6E #6EFBDE
split-complementary
#976EFB #FBDE6E #8BFB6E
monochromatic
#4806E8 #6C32F9 #976EFB #C2AAFD #EAE1FE

Accessibility & contrast

On white

3.54
#976EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#976EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EFB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EFB#FFFFFF#000000##000000
##976EFB1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8AFF
Deuteranopia (green-blind)
#2F86F8
Tritanopia (blue-blind)
#7D8CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #976efb;
/* rgb */ color: rgb(151, 110, 251);
/* oklch */ color: oklch(64.7% 0.202 293.4);
Tailwind
colors: {
  custom: {
    50: '#bb99fd',
    500: '#976efb',
    950: '#000000',
  },
}
SCSS
$custom: #976efb;
$custom-light: #bb99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976efb",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 257.447,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64717,
    "c": 0.20152,
    "h": 293.4
  },
  "luminance": 0.24696
}

Semantic roles & 50–950 ramp

primary
#976EFB
secondary
#EAF5CF
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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