#976BFE#976BFE

#976BFE is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.5% C 0.209 H 293.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#976BFE
RGBrgb(151, 107, 254)
HSLhsl(258, 99%, 71%)
HSVhsv(258, 58%, 100%)
CMYKcmyk(40.6%, 57.9%, 0%, 0.4%)
CIE-LABlab(56.34, 49.65, -67.42)
CIE-LCHlch(56.34, 83.72, 306.37°)
OKLaboklab(64.45% 0.0833 -0.1919)
OKLCHoklch(64.45% 0.209 293.5)
XYZxyz(35.9048, 24.2495, 96.5356)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BFE #D2FE6B
analogous
#6B88FE #976BFE #E06BFE
triadic
#976BFE #FE976B #6BFE97
tetradic
#976BFE #FE6B88 #D2FE6B #6BFEE0
square
#976BFE #FE6B88 #D2FE6B #6BFEE0
split-complementary
#976BFE #FEE06B #88FE6B
monochromatic
#4802ED #6C2EFE #976BFE #C2A8FE #EAE1FF

Accessibility & contrast

On white

3.59
#976BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#976BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BFE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BFE#FFFFFF#000000##000000
##976BFE1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#2084FB
Tritanopia (blue-blind)
#7C8BAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976bfe;
/* rgb */ color: rgb(151, 107, 254);
/* oklch */ color: oklch(64.5% 0.209 293.5);
Tailwind
colors: {
  custom: {
    50: '#bb97ff',
    500: '#976bfe',
    950: '#000000',
  },
}
SCSS
$custom: #976bfe;
$custom-light: #bb97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#976bfe",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 257.959,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64454,
    "c": 0.20924,
    "h": 293.5
  },
  "luminance": 0.2425
}

Semantic roles & 50–950 ramp

primary
#976BFE
secondary
#EAF6CF
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #976BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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