#976FFB#976FFB

#976FFB is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 64.9% C 0.200 H 293.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#976FFB
RGBrgb(151, 111, 251)
HSLhsl(257, 95%, 71%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(39.8%, 55.8%, 0%, 1.6%)
CIE-LABlab(56.99, 46.67, -64.71)
CIE-LCHlch(56.99, 79.78, 305.80°)
OKLaboklab(64.87% 0.0788 -0.184)
OKLCHoklch(64.87% 0.2 293.2)
XYZxyz(35.8549, 24.9123, 94.1675)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FFB #D3FB6F
analogous
#6F8DFB #976FFB #DD6FFB
triadic
#976FFB #FB976F #6FFB97
tetradic
#976FFB #FB6F8D #D3FB6F #6FFBDD
square
#976FFB #FB6F8D #D3FB6F #6FFBDD
split-complementary
#976FFB #FBDD6F #8DFB6F
monochromatic
#4706E9 #6C33F9 #976FFB #C2ABFD #E9E1FE

Accessibility & contrast

On white

3.51
#976FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#976FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FFB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FFB#FFFFFF#000000##000000
##976FFB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#238AFF
Deuteranopia (green-blind)
#3186F8
Tritanopia (blue-blind)
#7D8DAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #976ffb;
/* rgb */ color: rgb(151, 111, 251);
/* oklch */ color: oklch(64.9% 0.200 293.2);
Tailwind
colors: {
  custom: {
    50: '#bb99fd',
    500: '#976ffb',
    950: '#000000',
  },
}
SCSS
$custom: #976ffb;
$custom-light: #bb99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976ffb",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 257.143,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.20013,
    "h": 293.2
  },
  "luminance": 0.24913
}

Semantic roles & 50–950 ramp

primary
#976FFB
secondary
#EBF6D0
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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