#977BFD#977BFD

#977BFD is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.186 H 290.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#977BFD
RGBrgb(151, 123, 253)
HSLhsl(253, 97%, 74%)
HSVhsv(253, 51%, 99%)
CMYKcmyk(40.3%, 51.4%, 0%, 0.8%)
CIE-LABlab(59.74, 40.48, -61.39)
CIE-LCHlch(59.74, 73.54, 303.40°)
OKLaboklab(66.95% 0.0648 -0.1742)
OKLCHoklch(66.95% 0.186 290.4)
XYZxyz(37.5702, 27.8359, 96.3028)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977BFD #E1FD7B
analogous
#7BA0FD #977BFD #D87BFD
triadic
#977BFD #FD977B #7BFD97
tetradic
#977BFD #FD7BA0 #E1FD7B #7BFDD8
square
#977BFD #FD7BA0 #E1FD7B #7BFDD8
split-complementary
#977BFD #FDD87B #A0FD7B
monochromatic
#3904FA #673FFC #977BFD #C6B7FE #E7E1FF

Accessibility & contrast

On white

3.20
#977BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#977BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977BFD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977BFD#FFFFFF#000000##000000
##977BFD1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#7B96B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #977bfd;
/* rgb */ color: rgb(151, 123, 253);
/* oklch */ color: oklch(67.0% 0.186 290.4);
Tailwind
colors: {
  custom: {
    50: '#bba2ff',
    500: '#977bfd',
    950: '#000000',
  },
}
SCSS
$custom: #977bfd;
$custom-light: #bba2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#977bfd",
  "rgb": {
    "r": 151,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 252.923,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6695,
    "c": 0.18588,
    "h": 290.4
  },
  "luminance": 0.27837
}

Semantic roles & 50–950 ramp

primary
#977BFD
secondary
#EFF7D4
accent
#E600B4
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #977BFD

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

Preview Lab → · Contrast checker → · Palette generator →

#977BFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva