#976BFB#976BFB

#976BFB is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.3% C 0.206 H 293.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#976BFB
RGBrgb(151, 107, 251)
HSLhsl(258, 95%, 70%)
HSVhsv(258, 57%, 98%)
CMYKcmyk(39.8%, 57.4%, 0%, 1.6%)
CIE-LABlab(56.15, 48.86, -66.06)
CIE-LCHlch(56.15, 82.17, 306.49°)
OKLaboklab(64.25% 0.0833 -0.188)
OKLCHoklch(64.25% 0.206 293.9)
XYZxyz(35.4281, 24.0589, 94.0253)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BFB #CFFB6B
analogous
#6B87FB #976BFB #DF6BFB
triadic
#976BFB #FB976B #6BFB97
tetradic
#976BFB #FB6B87 #CFFB6B #6BFBDF
square
#976BFB #FB6B87 #CFFB6B #6BFBDF
split-complementary
#976BFB #FBDF6B #87FB6B
monochromatic
#4A06E5 #6D2FF9 #976BFB #C1A7FD #EAE1FE

Accessibility & contrast

On white

3.61
#976BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#976BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BFB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BFB#FFFFFF#000000##000000
##976BFB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E88FF
Deuteranopia (green-blind)
#2784F8
Tritanopia (blue-blind)
#7D8AA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976bfb;
/* rgb */ color: rgb(151, 107, 251);
/* oklch */ color: oklch(64.3% 0.206 293.9);
Tailwind
colors: {
  custom: {
    50: '#bb97fd',
    500: '#976bfb',
    950: '#000000',
  },
}
SCSS
$custom: #976bfb;
$custom-light: #bb97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976bfb",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 258.333,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64254,
    "c": 0.20562,
    "h": 293.9
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#976BFB
secondary
#E9F5CD
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #976BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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