#977CED#977CED

#977CED is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.2% C 0.164 H 292.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#977CED
RGBrgb(151, 124, 237)
HSLhsl(254, 76%, 71%)
HSVhsv(254, 48%, 93%)
CMYKcmyk(36.3%, 47.7%, 0%, 7.1%)
CIE-LABlab(59.07, 35.64, -53.61)
CIE-LCHlch(59.07, 64.38, 303.62°)
OKLaboklab(66.16% 0.0622 -0.1514)
OKLCHoklch(66.16% 0.164 292.3)
XYZxyz(35.2522, 27.1082, 83.4794)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977CED #D2ED7C
analogous
#7C99ED #977CED #CF7CED
triadic
#977CED #ED977C #7CED97
tetradic
#977CED #ED7C99 #D2ED7C #7CEDCF
square
#977CED #ED7C99 #D2ED7C #7CEDCF
split-complementary
#977CED #EDCF7C #99ED7C
monochromatic
#481DD2 #6C46E6 #977CED #C2B2F4 #EAE4FB

Accessibility & contrast

On white

3.27
#977CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#977CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977CED
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977CED#FFFFFF#000000##000000
##977CED1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F1
Deuteranopia (green-blind)
#568CEA
Tritanopia (blue-blind)
#8292A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #977ced;
/* rgb */ color: rgb(151, 124, 237);
/* oklch */ color: oklch(66.2% 0.164 292.3);
Tailwind
colors: {
  custom: {
    50: '#b9a2f3',
    500: '#977ced',
    950: '#000000',
  },
}
SCSS
$custom: #977ced;
$custom-light: #b9a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#977ced",
  "rgb": {
    "r": 151,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 254.336,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66163,
    "c": 0.1637,
    "h": 292.3
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #977CED

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

Preview Lab → · Contrast checker → · Palette generator →

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