#976DFB#976DFB

#976DFB is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.6% C 0.203 H 293.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#976DFB
RGBrgb(151, 109, 251)
HSLhsl(258, 95%, 71%)
HSVhsv(258, 57%, 98%)
CMYKcmyk(39.8%, 56.6%, 0%, 1.6%)
CIE-LABlab(56.57, 47.77, -65.39)
CIE-LCHlch(56.57, 80.98, 306.15°)
OKLaboklab(64.56% 0.0811 -0.186)
OKLCHoklch(64.56% 0.203 293.6)
XYZxyz(35.6391, 24.4807, 94.0956)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DFB #D1FB6D
analogous
#6D8AFB #976DFB #DE6DFB
triadic
#976DFB #FB976D #6DFB97
tetradic
#976DFB #FB6D8A #D1FB6D #6DFBDE
square
#976DFB #FB6D8A #D1FB6D #6DFBDE
split-complementary
#976DFB #FBDE6D #8AFB6D
monochromatic
#4906E7 #6D31F9 #976DFB #C1A9FD #EAE1FE

Accessibility & contrast

On white

3.56
#976DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#976DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DFB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DFB#FFFFFF#000000##000000
##976DFB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #976dfb;
/* rgb */ color: rgb(151, 109, 251);
/* oklch */ color: oklch(64.6% 0.203 293.6);
Tailwind
colors: {
  custom: {
    50: '#bb98fd',
    500: '#976dfb',
    950: '#000000',
  },
}
SCSS
$custom: #976dfb;
$custom-light: #bb98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976dfb",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 257.746,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64562,
    "c": 0.20289,
    "h": 293.6
  },
  "luminance": 0.24482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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