#976DFE#976DFE

#976DFE is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.8% C 0.207 H 293.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#976DFE
RGBrgb(151, 109, 254)
HSLhsl(257, 99%, 71%)
HSVhsv(257, 57%, 100%)
CMYKcmyk(40.6%, 57.1%, 0%, 0.4%)
CIE-LABlab(56.75, 48.56, -66.74)
CIE-LCHlch(56.75, 82.54, 306.04°)
OKLaboklab(64.76% 0.081 -0.19)
OKLCHoklch(64.76% 0.207 293.1)
XYZxyz(36.1157, 24.6714, 96.6059)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DFE #D4FE6D
analogous
#6D8BFE #976DFE #DF6DFE
triadic
#976DFE #FE976D #6DFE97
tetradic
#976DFE #FE6D8B #D4FE6D #6DFEDF
square
#976DFE #FE6D8B #D4FE6D #6DFEDF
split-complementary
#976DFE #FEDF6D #8BFE6D
monochromatic
#4602EF #6C30FE #976DFE #C2AAFE #E9E1FF

Accessibility & contrast

On white

3.54
#976DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#976DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DFE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DFE#FFFFFF#000000##000000
##976DFE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#108AFF
Deuteranopia (green-blind)
#2686FB
Tritanopia (blue-blind)
#7B8DAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #976dfe;
/* rgb */ color: rgb(151, 109, 254);
/* oklch */ color: oklch(64.8% 0.207 293.1);
Tailwind
colors: {
  custom: {
    50: '#bb98ff',
    500: '#976dfe',
    950: '#000000',
  },
}
SCSS
$custom: #976dfe;
$custom-light: #bb98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#976dfe",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 257.379,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6476,
    "c": 0.20653,
    "h": 293.1
  },
  "luminance": 0.24672
}

Semantic roles & 50–950 ramp

primary
#976DFE
secondary
#EBF6D0
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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