#976EFA#976EFA

#976EFA is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.7% C 0.200 H 293.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#976EFA
RGBrgb(151, 110, 250)
HSLhsl(258, 93%, 71%)
HSVhsv(258, 56%, 98%)
CMYKcmyk(39.6%, 56%, 0%, 2%)
CIE-LABlab(56.72, 46.95, -64.59)
CIE-LCHlch(56.72, 79.86, 306.01°)
OKLaboklab(64.65% 0.0799 -0.1836)
OKLCHoklch(64.65% 0.2 293.5)
XYZxyz(35.5891, 24.6324, 93.3034)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EFA #D1FA6E
analogous
#6E8BFA #976EFA #DD6EFA
triadic
#976EFA #FA976E #6EFA97
tetradic
#976EFA #FA6E8B #D1FA6E #6EFADD
square
#976EFA #FA6E8B #D1FA6E #6EFADD
split-complementary
#976EFA #FADD6E #8BFA6E
monochromatic
#4908E6 #6D33F8 #976EFA #C1A9FC #EAE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976EFA#FFFFFF#000000##000000
##976EFA1.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)
#218AFF
Deuteranopia (green-blind)
#3086F7
Tritanopia (blue-blind)
#7D8CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #976efa;
/* rgb */ color: rgb(151, 110, 250);
/* oklch */ color: oklch(64.7% 0.200 293.5);
Tailwind
colors: {
  custom: {
    50: '#bb99fd',
    500: '#976efa',
    950: '#000000',
  },
}
SCSS
$custom: #976efa;
$custom-light: #bb99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976efa",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 257.571,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64652,
    "c": 0.20029,
    "h": 293.5
  },
  "luminance": 0.24633
}

Semantic roles & 50–950 ramp

primary
#976EFA
secondary
#EAF5CF
accent
#E600A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #976EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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