#977FDB#977FDB

#977FDB is a light, vivid violet. Relative luminance 0.269; OKLCH L 65.7% C 0.135 H 294.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#977FDB
RGBrgb(151, 127, 219)
HSLhsl(256, 56%, 68%)
HSVhsv(256, 42%, 86%)
CMYKcmyk(31.1%, 42%, 0%, 14.1%)
CIE-LABlab(58.86, 29.25, -43.92)
CIE-LCHlch(58.86, 52.76, 303.66°)
OKLaboklab(65.7% 0.0558 -0.1231)
OKLCHoklch(65.7% 0.135 294.4)
XYZxyz(33.1349, 26.8720, 70.4452)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977FDB #C3DB7F
analogous
#7F95DB #977FDB #C57FDB
triadic
#977FDB #DB977F #7FDB97
tetradic
#977FDB #DB7F95 #C3DB7F #7FDBC5
square
#977FDB #DB7F95 #C3DB7F #7FDBC5
split-complementary
#977FDB #DBC57F #95DB7F
monochromatic
#5231AF #704FCE #977FDB #BEAFE8 #E5DFF6

Accessibility & contrast

On white

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

On black

6.37
#977FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977FDB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977FDB#FFFFFF#000000##000000
##977FDB1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FDE
Deuteranopia (green-blind)
#678CD9
Tritanopia (blue-blind)
#8890A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #977fdb;
/* rgb */ color: rgb(151, 127, 219);
/* oklch */ color: oklch(65.7% 0.135 294.4);
Tailwind
colors: {
  custom: {
    50: '#b8a4e6',
    500: '#977fdb',
    950: '#000000',
  },
}
SCSS
$custom: #977fdb;
$custom-light: #b8a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#977fdb",
  "rgb": {
    "r": 151,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 255.652,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65698,
    "c": 0.13518,
    "h": 294.4
  },
  "luminance": 0.26873
}

Semantic roles & 50–950 ramp

primary
#977FDB
secondary
#E2E9CD
accent
#C42299
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #977FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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