#977DCD#977DCD

#977DCD is a light, moderate violet. Relative luminance 0.257; OKLCH L 64.6% C 0.119 H 297.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#977DCD
RGBrgb(151, 125, 205)
HSLhsl(260, 44%, 65%)
HSVhsv(260, 39%, 80%)
CMYKcmyk(26.3%, 39%, 0%, 19.6%)
CIE-LABlab(57.71, 26.89, -37.85)
CIE-LCHlch(57.71, 46.42, 305.39°)
OKLaboklab(64.61% 0.056 -0.1055)
OKLCHoklch(64.61% 0.119 297.9)
XYZxyz(31.1130, 25.6541, 61.0583)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977DCD #B3CD7D
analogous
#7D8BCD #977DCD #BF7DCD
triadic
#977DCD #CD977D #7DCD97
tetradic
#977DCD #CD7D8B #B3CD7D #7DCDBF
square
#977DCD #CD7D8B #B3CD7D #7DCDBF
split-complementary
#977DCD #CDBF7D #8BCD7D
monochromatic
#583A96 #7451BC #977DCD #BAA9DE #DED5EF

Accessibility & contrast

On white

3.43
#977DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#977DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977DCD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977DCD#FFFFFF#000000##000000
##977DCD1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#8C8B9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #977dcd;
/* rgb */ color: rgb(151, 125, 205);
/* oklch */ color: oklch(64.6% 0.119 297.9);
Tailwind
colors: {
  custom: {
    50: '#b7a3dc',
    500: '#977dcd',
    950: '#000000',
  },
}
SCSS
$custom: #977dcd;
$custom-light: #b7a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#977dcd",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 259.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64609,
    "c": 0.11942,
    "h": 297.9
  },
  "luminance": 0.25654
}

Semantic roles & 50–950 ramp

primary
#977DCD
secondary
#D8E1C5
accent
#B82E8B
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #977DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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