#977CD5#977CD5

#977CD5 is a light, vivid violet. Relative luminance 0.258; OKLCH L 64.8% C 0.132 H 296.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#977CD5
RGBrgb(151, 124, 213)
HSLhsl(258, 51%, 66%)
HSVhsv(258, 42%, 84%)
CMYKcmyk(29.1%, 41.8%, 0%, 16.5%)
CIE-LABlab(57.85, 29.46, -42.14)
CIE-LCHlch(57.85, 51.42, 304.95°)
OKLaboklab(64.84% 0.0589 -0.1179)
OKLCHoklch(64.84% 0.132 296.5)
XYZxyz(31.9775, 25.7983, 66.2327)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977CD5 #BAD57C
analogous
#7C8DD5 #977CD5 #C37CD5
triadic
#977CD5 #D5977C #7CD597
tetradic
#977CD5 #D57C8D #BAD57C #7CD5C3
square
#977CD5 #D57C8D #BAD57C #7CD5C3
split-complementary
#977CD5 #D5C37C #8DD57C
monochromatic
#5634A2 #724EC6 #977CD5 #BCAAE4 #E1D9F3

Accessibility & contrast

On white

3.41
#977CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#977CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977CD5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977CD5#FFFFFF#000000##000000
##977CD51.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#628BD8
Deuteranopia (green-blind)
#678AD3
Tritanopia (blue-blind)
#8A8C9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #977cd5;
/* rgb */ color: rgb(151, 124, 213);
/* oklch */ color: oklch(64.8% 0.132 296.5);
Tailwind
colors: {
  custom: {
    50: '#b8a2e2',
    500: '#977cd5',
    950: '#000000',
  },
}
SCSS
$custom: #977cd5;
$custom-light: #b8a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#977cd5",
  "rgb": {
    "r": 151,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 258.202,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.13182,
    "h": 296.5
  },
  "luminance": 0.25799
}

Semantic roles & 50–950 ramp

primary
#977CD5
secondary
#DCE5C8
accent
#BF2791
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #977CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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