#977CFD#977CFD

#977CFD is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.1% C 0.184 H 290.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#977CFD
RGBrgb(151, 124, 253)
HSLhsl(253, 97%, 74%)
HSVhsv(253, 51%, 99%)
CMYKcmyk(40.3%, 51%, 0%, 0.8%)
CIE-LABlab(59.97, 39.92, -61.03)
CIE-LCHlch(59.97, 72.93, 303.18°)
OKLaboklab(67.12% 0.0636 -0.1732)
OKLCHoklch(67.12% 0.184 290.2)
XYZxyz(37.6949, 28.0853, 96.3444)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977CFD #E2FD7C
analogous
#7CA2FD #977CFD #D87CFD
triadic
#977CFD #FD977C #7CFD97
tetradic
#977CFD #FD7CA2 #E2FD7C #7CFDD8
square
#977CFD #FD7CA2 #E2FD7C #7CFDD8
split-complementary
#977CFD #FDD87C #A2FD7C
monochromatic
#3804FB #6740FC #977CFD #C7B8FE #E7E1FF

Accessibility & contrast

On white

3.17
#977CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#977CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977CFD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977CFD#FFFFFF#000000##000000
##977CFD1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#478EFA
Tritanopia (blue-blind)
#7B97B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #977cfd;
/* rgb */ color: rgb(151, 124, 253);
/* oklch */ color: oklch(67.1% 0.184 290.2);
Tailwind
colors: {
  custom: {
    50: '#baa2ff',
    500: '#977cfd',
    950: '#000000',
  },
}
SCSS
$custom: #977cfd;
$custom-light: #baa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#977cfd",
  "rgb": {
    "r": 151,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 252.558,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67118,
    "c": 0.18446,
    "h": 290.2
  },
  "luminance": 0.28086
}

Semantic roles & 50–950 ramp

primary
#977CFD
secondary
#F0F7D4
accent
#E600B5
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #977CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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