#976FFA#976FFA

#976FFA is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.8% C 0.199 H 293.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#976FFA
RGBrgb(151, 111, 250)
HSLhsl(257, 93%, 71%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(39.6%, 55.6%, 0%, 2%)
CIE-LABlab(56.93, 46.40, -64.25)
CIE-LCHlch(56.93, 79.26, 305.84°)
OKLaboklab(64.81% 0.0788 -0.1826)
OKLCHoklch(64.81% 0.199 293.3)
XYZxyz(35.6976, 24.8494, 93.3395)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FFA #D2FA6F
analogous
#6F8CFA #976FFA #DC6FFA
triadic
#976FFA #FA976F #6FFA97
tetradic
#976FFA #FA6F8C #D2FA6F #6FFADC
square
#976FFA #FA6F8C #D2FA6F #6FFADC
split-complementary
#976FFA #FADC6F #8CFA6F
monochromatic
#4808E7 #6C34F8 #976FFA #C2AAFC #EAE1FE

Accessibility & contrast

On white

3.52
#976FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#976FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FFA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FFA#FFFFFF#000000##000000
##976FFA1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#258AFF
Deuteranopia (green-blind)
#3386F7
Tritanopia (blue-blind)
#7D8DAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #976ffa;
/* rgb */ color: rgb(151, 111, 250);
/* oklch */ color: oklch(64.8% 0.199 293.3);
Tailwind
colors: {
  custom: {
    50: '#bb99fd',
    500: '#976ffa',
    950: '#000000',
  },
}
SCSS
$custom: #976ffa;
$custom-light: #bb99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976ffa",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 257.266,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64809,
    "c": 0.19891,
    "h": 293.3
  },
  "luminance": 0.2485
}

Semantic roles & 50–950 ramp

primary
#976FFA
secondary
#EAF5D0
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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