#7977AE#7977AE

#7977AE is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.3% C 0.083 H 285.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7977AE
RGBrgb(121, 119, 174)
HSLhsl(242, 25%, 57%)
HSVhsv(242, 32%, 68%)
CMYKcmyk(30.5%, 31.6%, 0%, 31.8%)
CIE-LABlab(52.19, 13.63, -28.93)
CIE-LCHlch(52.19, 31.98, 295.23°)
OKLaboklab(59.3% 0.0219 -0.0804)
OKLCHoklch(59.3% 0.083 285.2)
XYZxyz(22.1200, 20.3140, 42.7918)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977AE #ACAE77
analogous
#7790AE #7977AE #9577AE
triadic
#7977AE #AE7977 #77AE79
tetradic
#7977AE #AE7790 #ACAE77 #77AE95
square
#7977AE #AE7790 #ACAE77 #77AE95
split-complementary
#7977AE #AE9577 #90AE77
monochromatic
#41406B #595791 #7977AE #9F9DC5 #C5C4DC

Accessibility & contrast

On white

4.15
#7977AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7977AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977AE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977AE#FFFFFF#000000##000000
##7977AE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#677EB0
Deuteranopia (green-blind)
#667BAD
Tritanopia (blue-blind)
#6C818B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7977ae;
/* rgb */ color: rgb(121, 119, 174);
/* oklch */ color: oklch(59.3% 0.083 285.2);
Tailwind
colors: {
  custom: {
    50: '#a19ec6',
    500: '#7977ae',
    950: '#000000',
  },
}
SCSS
$custom: #7977ae;
$custom-light: #a19ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7977ae",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 174
  },
  "hsl": {
    "h": 242.182,
    "s": 25.346,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.08329,
    "h": 285.2
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#7977AE
secondary
#CBCCB5
accent
#C266BE
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7977AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7977AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva