#977FF9#977FF9

#977FF9 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.175 H 289.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#977FF9
RGBrgb(151, 127, 249)
HSLhsl(252, 91%, 74%)
HSVhsv(252, 49%, 98%)
CMYKcmyk(39.4%, 49%, 0%, 2.4%)
CIE-LABlab(60.42, 37.13, -58.10)
CIE-LCHlch(60.42, 68.95, 302.58°)
OKLaboklab(67.39% 0.0597 -0.1645)
OKLCHoklch(67.39% 0.175 289.9)
XYZxyz(37.4461, 28.5965, 93.1509)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977FF9 #E1F97F
analogous
#7FA4F9 #977FF9 #D47FF9
triadic
#977FF9 #F9977F #7FF997
tetradic
#977FF9 #F97FA4 #E1F97F #7FF9D4
square
#977FF9 #F97FA4 #E1F97F #7FF9D4
split-complementary
#977FF9 #F9D47F #A4F97F
monochromatic
#390BF2 #6745F6 #977FF9 #C6B9FC #E7E2FE

Accessibility & contrast

On white

3.13
#977FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#977FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977FF9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977FF9#FFFFFF#000000##000000
##977FF91.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FD
Deuteranopia (green-blind)
#508FF6
Tritanopia (blue-blind)
#7C98B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #977ff9;
/* rgb */ color: rgb(151, 127, 249);
/* oklch */ color: oklch(67.4% 0.175 289.9);
Tailwind
colors: {
  custom: {
    50: '#baa4fc',
    500: '#977ff9',
    950: '#000000',
  },
}
SCSS
$custom: #977ff9;
$custom-light: #baa4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#977ff9",
  "rgb": {
    "r": 151,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 251.803,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.17503,
    "h": 289.9
  },
  "luminance": 0.28598
}

Semantic roles & 50–950 ramp

primary
#977FF9
secondary
#EFF6D5
accent
#E600B8
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #977FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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