#977DF7#977DF7

#977DF7 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.175 H 290.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#977DF7
RGBrgb(151, 125, 247)
HSLhsl(253, 88%, 73%)
HSVhsv(253, 49%, 97%)
CMYKcmyk(38.9%, 49.4%, 0%, 3.1%)
CIE-LABlab(59.85, 37.73, -57.91)
CIE-LCHlch(59.85, 69.11, 303.09°)
OKLaboklab(66.93% 0.0619 -0.164)
OKLCHoklch(66.93% 0.175 290.7)
XYZxyz(36.8801, 27.9609, 91.4315)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977DF7 #DDF77D
analogous
#7DA0F7 #977DF7 #D47DF7
triadic
#977DF7 #F7977D #7DF797
tetradic
#977DF7 #F77DA0 #DDF77D #7DF7D4
square
#977DF7 #F77DA0 #DDF77D #7DF7D4
split-complementary
#977DF7 #F7D47D #A0F77D
monochromatic
#3D0EEB #6943F3 #977DF7 #C5B7FB #E8E2FD

Accessibility & contrast

On white

3.19
#977DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#977DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977DF7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977DF7#FFFFFF#000000##000000
##977DF71.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#4F8EF4
Tritanopia (blue-blind)
#7D96AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #977df7;
/* rgb */ color: rgb(151, 125, 247);
/* oklch */ color: oklch(66.9% 0.175 290.7);
Tailwind
colors: {
  custom: {
    50: '#baa3fa',
    500: '#977df7',
    950: '#000000',
  },
}
SCSS
$custom: #977df7;
$custom-light: #baa3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#977df7",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 252.787,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66925,
    "c": 0.17529,
    "h": 290.7
  },
  "luminance": 0.27962
}

Semantic roles & 50–950 ramp

primary
#977DF7
secondary
#EFF5D6
accent
#E500B4
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #977DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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