#977FF7#977FF7

#977FF7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.172 H 290.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#977FF7
RGBrgb(151, 127, 247)
HSLhsl(252, 88%, 73%)
HSVhsv(252, 49%, 97%)
CMYKcmyk(38.9%, 48.6%, 0%, 3.1%)
CIE-LABlab(60.31, 36.59, -57.17)
CIE-LCHlch(60.31, 67.88, 302.62°)
OKLaboklab(67.27% 0.0595 -0.1618)
OKLCHoklch(67.27% 0.172 290.2)
XYZxyz(37.1358, 28.4724, 91.5168)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977FF7 #DFF77F
analogous
#7FA3F7 #977FF7 #D37FF7
triadic
#977FF7 #F7977F #7FF797
tetradic
#977FF7 #F77FA3 #DFF77F #7FF7D3
square
#977FF7 #F77FA3 #DFF77F #7FF7D3
split-complementary
#977FF7 #F7D37F #A3F77F
monochromatic
#3B0FED #6845F3 #977FF7 #C6B9FB #E8E2FD

Accessibility & contrast

On white

3.14
#977FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#977FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977FF7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977FF7#FFFFFF#000000##000000
##977FF71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#7D97AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #977ff7;
/* rgb */ color: rgb(151, 127, 247);
/* oklch */ color: oklch(67.3% 0.172 290.2);
Tailwind
colors: {
  custom: {
    50: '#baa4fa',
    500: '#977ff7',
    950: '#000000',
  },
}
SCSS
$custom: #977ff7;
$custom-light: #baa4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#977ff7",
  "rgb": {
    "r": 151,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 252,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67269,
    "c": 0.17241,
    "h": 290.2
  },
  "luminance": 0.28473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #977FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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