#976BFA#976BFA

#976BFA is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.2% C 0.204 H 294.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#976BFA
RGBrgb(151, 107, 250)
HSLhsl(258, 93%, 70%)
HSVhsv(258, 57%, 98%)
CMYKcmyk(39.6%, 57.2%, 0%, 2%)
CIE-LABlab(56.08, 48.60, -65.61)
CIE-LCHlch(56.08, 81.65, 306.53°)
OKLaboklab(64.19% 0.0834 -0.1866)
OKLCHoklch(64.19% 0.204 294.1)
XYZxyz(35.2709, 23.9960, 93.1973)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BFA #CEFA6B
analogous
#6B86FA #976BFA #DF6BFA
triadic
#976BFA #FA976B #6BFA97
tetradic
#976BFA #FA6B86 #CEFA6B #6BFADF
square
#976BFA #FA6B86 #CEFA6B #6BFADF
split-complementary
#976BFA #FADF6B #86FA6B
monochromatic
#4B08E3 #6D30F8 #976BFA #C1A6FC #EAE1FE

Accessibility & contrast

On white

3.62
#976BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#976BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BFA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BFA#FFFFFF#000000##000000
##976BFA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1288FF
Deuteranopia (green-blind)
#2984F7
Tritanopia (blue-blind)
#7D8AA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976bfa;
/* rgb */ color: rgb(151, 107, 250);
/* oklch */ color: oklch(64.2% 0.204 294.1);
Tailwind
colors: {
  custom: {
    50: '#bb97fd',
    500: '#976bfa',
    950: '#000000',
  },
}
SCSS
$custom: #976bfa;
$custom-light: #bb97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976bfa",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 258.462,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.20442,
    "h": 294.1
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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