#977AED#977AED

#977AED is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.8% C 0.167 H 292.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#977AED
RGBrgb(151, 122, 237)
HSLhsl(255, 76%, 70%)
HSVhsv(255, 49%, 93%)
CMYKcmyk(36.3%, 48.5%, 0%, 7.1%)
CIE-LABlab(58.61, 36.79, -54.35)
CIE-LCHlch(58.61, 65.63, 304.09°)
OKLaboklab(65.82% 0.0647 -0.1536)
OKLCHoklch(65.82% 0.167 292.9)
XYZxyz(35.0041, 26.6120, 83.3967)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977AED #D0ED7A
analogous
#7A97ED #977AED #D07AED
triadic
#977AED #ED977A #7AED97
tetradic
#977AED #ED7A97 #D0ED7A #7AEDD0
square
#977AED #ED7A97 #D0ED7A #7AEDD0
split-complementary
#977AED #EDD07A #97ED7A
monochromatic
#4A1CD0 #6D44E6 #977AED #C1B0F4 #EAE4FB

Accessibility & contrast

On white

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

On black

6.32
#977AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977AED
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977AED#FFFFFF#000000##000000
##977AED1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#8291A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #977aed;
/* rgb */ color: rgb(151, 122, 237);
/* oklch */ color: oklch(65.8% 0.167 292.9);
Tailwind
colors: {
  custom: {
    50: '#b9a1f3',
    500: '#977aed',
    950: '#000000',
  },
}
SCSS
$custom: #977aed;
$custom-light: #b9a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#977aed",
  "rgb": {
    "r": 151,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 255.13,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65818,
    "c": 0.16665,
    "h": 292.9
  },
  "luminance": 0.26613
}

Semantic roles & 50–950 ramp

primary
#977AED
secondary
#E9F1D2
accent
#D80DA5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #977AED

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

Preview Lab → · Contrast checker → · Palette generator →

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