#977AEE#977AEE

#977AEE is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.9% C 0.168 H 292.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#977AEE
RGBrgb(151, 122, 238)
HSLhsl(255, 77%, 71%)
HSVhsv(255, 49%, 93%)
CMYKcmyk(36.6%, 48.7%, 0%, 6.7%)
CIE-LABlab(58.67, 37.05, -54.81)
CIE-LCHlch(58.67, 66.16, 304.06°)
OKLaboklab(65.88% 0.0648 -0.1549)
OKLCHoklch(65.88% 0.168 292.7)
XYZxyz(35.1506, 26.6706, 84.1683)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977AEE #D1EE7A
analogous
#7A97EE #977AEE #D17AEE
triadic
#977AEE #EE977A #7AEE97
tetradic
#977AEE #EE7A97 #D1EE7A #7AEED1
square
#977AEE #EE7A97 #D1EE7A #7AEED1
split-complementary
#977AEE #EED17A #97EE7A
monochromatic
#491BD3 #6D44E7 #977AEE #C1B0F5 #EAE4FC

Accessibility & contrast

On white

3.32
#977AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#977AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977AEE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977AEE#FFFFFF#000000##000000
##977AEE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF2
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#8191A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #977aee;
/* rgb */ color: rgb(151, 122, 238);
/* oklch */ color: oklch(65.9% 0.168 292.7);
Tailwind
colors: {
  custom: {
    50: '#b9a1f4',
    500: '#977aee',
    950: '#000000',
  },
}
SCSS
$custom: #977aee;
$custom-light: #b9a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#977aee",
  "rgb": {
    "r": 151,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 255,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65877,
    "c": 0.16795,
    "h": 292.7
  },
  "luminance": 0.26671
}

Semantic roles & 50–950 ramp

primary
#977AEE
secondary
#EAF2D2
accent
#DA0CA6
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #977AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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