#977BE9#977BE9

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

Color values

HEX#977BE9
RGBrgb(151, 123, 233)
HSLhsl(255, 71%, 70%)
HSVhsv(255, 47%, 91%)
CMYKcmyk(35.2%, 47.2%, 0%, 8.6%)
CIE-LABlab(58.63, 35.17, -52.10)
CIE-LCHlch(58.63, 62.86, 304.02°)
OKLaboklab(65.76% 0.0631 -0.147)
OKLCHoklch(65.76% 0.16 293.2)
XYZxyz(34.5496, 26.6277, 80.3944)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977BE9 #CDE97B
analogous
#7B96E9 #977BE9 #CE7BE9
triadic
#977BE9 #E9977B #7BE997
tetradic
#977BE9 #E97B96 #CDE97B #7BE9CE
square
#977BE9 #E97B96 #CDE97B #7BE9CE
split-complementary
#977BE9 #E9CE7B #96E97B
monochromatic
#4C21C8 #6E47E0 #977BE9 #C0AFF2 #EAE4FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##977BE9#FFFFFF#000000##000000
##977BE91.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)
#548EED
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#8390A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #977be9;
/* rgb */ color: rgb(151, 123, 233);
/* oklch */ color: oklch(65.8% 0.160 293.2);
Tailwind
colors: {
  custom: {
    50: '#b9a1f0',
    500: '#977be9',
    950: '#000000',
  },
}
SCSS
$custom: #977be9;
$custom-light: #b9a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#977be9",
  "rgb": {
    "r": 151,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 255.273,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65759,
    "c": 0.15994,
    "h": 293.2
  },
  "luminance": 0.26628
}

Semantic roles & 50–950 ramp

primary
#977BE9
secondary
#E8EFD0
accent
#D312A2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #977BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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