#976CFA#976CFA

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

Color values

HEX#976CFA
RGBrgb(151, 108, 250)
HSLhsl(258, 93%, 70%)
HSVhsv(258, 57%, 98%)
CMYKcmyk(39.6%, 56.8%, 0%, 2%)
CIE-LABlab(56.29, 48.05, -65.27)
CIE-LCHlch(56.29, 81.05, 306.36°)
OKLaboklab(64.34% 0.0822 -0.1856)
OKLCHoklch(64.34% 0.203 293.9)
XYZxyz(35.3758, 24.2057, 93.2323)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CFA #CFFA6C
analogous
#6C88FA #976CFA #DE6CFA
triadic
#976CFA #FA976C #6CFA97
tetradic
#976CFA #FA6C88 #CFFA6C #6CFADE
square
#976CFA #FA6C88 #CFFA6C #6CFADE
split-complementary
#976CFA #FADE6C #88FA6C
monochromatic
#4A08E4 #6D31F8 #976CFA #C1A7FC #EAE1FE

Accessibility & contrast

On white

3.60
#976CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#976CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CFA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CFA#FFFFFF#000000##000000
##976CFA1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1889FF
Deuteranopia (green-blind)
#2C85F7
Tritanopia (blue-blind)
#7D8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976cfa;
/* rgb */ color: rgb(151, 108, 250);
/* oklch */ color: oklch(64.3% 0.203 293.9);
Tailwind
colors: {
  custom: {
    50: '#bb97fd',
    500: '#976cfa',
    950: '#000000',
  },
}
SCSS
$custom: #976cfa;
$custom-light: #bb97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976cfa",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 258.169,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64341,
    "c": 0.20304,
    "h": 293.9
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#976CFA
secondary
#E9F5CD
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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