#977DFD#977DFD

#977DFD is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.183 H 289.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#977DFD
RGBrgb(151, 125, 253)
HSLhsl(252, 97%, 74%)
HSVhsv(252, 51%, 99%)
CMYKcmyk(40.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(60.19, 39.35, -60.67)
CIE-LCHlch(60.19, 72.31, 302.97°)
OKLaboklab(67.29% 0.0624 -0.1721)
OKLCHoklch(67.29% 0.183 289.9)
XYZxyz(37.8209, 28.3372, 96.3864)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977DFD #E3FD7D
analogous
#7DA3FD #977DFD #D77DFD
triadic
#977DFD #FD977D #7DFD97
tetradic
#977DFD #FD7DA3 #E3FD7D #7DFDD7
square
#977DFD #FD7DA3 #E3FD7D #7DFDD7
split-complementary
#977DFD #FDD77D #A3FD7D
monochromatic
#3704FB #6741FC #977DFD #C7B9FE #E7E1FF

Accessibility & contrast

On white

3.15
#977DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#977DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977DFD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977DFD#FFFFFF#000000##000000
##977DFD1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#7B97B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #977dfd;
/* rgb */ color: rgb(151, 125, 253);
/* oklch */ color: oklch(67.3% 0.183 289.9);
Tailwind
colors: {
  custom: {
    50: '#baa3ff',
    500: '#977dfd',
    950: '#000000',
  },
}
SCSS
$custom: #977dfd;
$custom-light: #baa3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#977dfd",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 252.188,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67287,
    "c": 0.18306,
    "h": 289.9
  },
  "luminance": 0.28338
}

Semantic roles & 50–950 ramp

primary
#977DFD
secondary
#F0F7D4
accent
#E600B7
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #977DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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