#977BEE#977BEE

#977BEE is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.0% C 0.166 H 292.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#977BEE
RGBrgb(151, 123, 238)
HSLhsl(255, 77%, 71%)
HSVhsv(255, 48%, 93%)
CMYKcmyk(36.6%, 48.3%, 0%, 6.7%)
CIE-LABlab(58.90, 36.48, -54.45)
CIE-LCHlch(58.90, 65.54, 303.82°)
OKLaboklab(66.05% 0.0636 -0.1539)
OKLCHoklch(66.05% 0.166 292.5)
XYZxyz(35.2740, 26.9174, 84.2095)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977BEE #D2EE7B
analogous
#7B98EE #977BEE #D17BEE
triadic
#977BEE #EE977B #7BEE97
tetradic
#977BEE #EE7B98 #D2EE7B #7BEED1
square
#977BEE #EE7B98 #D2EE7B #7BEED1
split-complementary
#977BEE #EED17B #98EE7B
monochromatic
#481BD3 #6C45E7 #977BEE #C2B1F5 #EAE4FC

Accessibility & contrast

On white

3.29
#977BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#977BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977BEE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977BEE#FFFFFF#000000##000000
##977BEE1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF2
Deuteranopia (green-blind)
#548CEB
Tritanopia (blue-blind)
#8192A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #977bee;
/* rgb */ color: rgb(151, 123, 238);
/* oklch */ color: oklch(66.0% 0.166 292.5);
Tailwind
colors: {
  custom: {
    50: '#b9a1f4',
    500: '#977bee',
    950: '#000000',
  },
}
SCSS
$custom: #977bee;
$custom-light: #b9a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#977bee",
  "rgb": {
    "r": 151,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 254.609,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66049,
    "c": 0.16648,
    "h": 292.5
  },
  "luminance": 0.26918
}

Semantic roles & 50–950 ramp

primary
#977BEE
secondary
#EAF2D3
accent
#D90CA7
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #977BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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