#7977B4#7977B4

#7977B4 is a mid, moderate blue. Relative luminance 0.206; OKLCH L 59.6% C 0.092 H 284.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7977B4
RGBrgb(121, 119, 180)
HSLhsl(242, 29%, 59%)
HSVhsv(242, 34%, 71%)
CMYKcmyk(32.8%, 33.9%, 0%, 29.4%)
CIE-LABlab(52.46, 15.23, -31.98)
CIE-LCHlch(52.46, 35.42, 295.46°)
OKLaboklab(59.6% 0.0235 -0.0891)
OKLCHoklch(59.6% 0.092 284.7)
XYZxyz(22.7180, 20.5533, 45.9414)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977B4 #B2B477
analogous
#7793B4 #7977B4 #9777B4
triadic
#7977B4 #B47977 #77B479
tetradic
#7977B4 #B47793 #B2B477 #77B497
square
#7977B4 #B47793 #B2B477 #77B497
split-complementary
#7977B4 #B49777 #93B477
monochromatic
#403F72 #575599 #7977B4 #A09ECA #C7C6E0

Accessibility & contrast

On white

4.11
#7977B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7977B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977B4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977B4#FFFFFF#000000##000000
##7977B41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#6A828D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7977b4;
/* rgb */ color: rgb(121, 119, 180);
/* oklch */ color: oklch(59.6% 0.092 284.7);
Tailwind
colors: {
  custom: {
    50: '#a19eca',
    500: '#7977b4',
    950: '#000000',
  },
}
SCSS
$custom: #7977b4;
$custom-light: #a19eca;
$custom-dark: #000000;
JSON
{
  "hex": "#7977b4",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 180
  },
  "hsl": {
    "h": 241.967,
    "s": 28.91,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.09218,
    "h": 284.7
  },
  "luminance": 0.20554
}

Semantic roles & 50–950 ramp

primary
#7977B4
secondary
#CFCFB7
accent
#C563C2
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7977B4

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

Preview Lab → · Contrast checker → · Palette generator →

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