#7977BB#7977BB

#7977BB is a mid, moderate blue. Relative luminance 0.208; OKLCH L 60.0% C 0.102 H 284.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7977BB
RGBrgb(121, 119, 187)
HSLhsl(242, 33%, 60%)
HSVhsv(242, 36%, 73%)
CMYKcmyk(35.3%, 36.4%, 0%, 26.7%)
CIE-LABlab(52.78, 17.13, -35.50)
CIE-LCHlch(52.78, 39.41, 295.75°)
OKLaboklab(59.95% 0.0251 -0.0993)
OKLCHoklch(59.95% 0.102 284.2)
XYZxyz(23.4492, 20.8457, 49.7922)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977BB #B9BB77
analogous
#7797BB #7977BB #9B77BB
triadic
#7977BB #BB7977 #77BB79
tetradic
#7977BB #BB7797 #B9BB77 #77BB9B
square
#7977BB #BB7797 #B9BB77 #77BB9B
split-complementary
#7977BB #BB9B77 #97BB77
monochromatic
#3F3D7A #5452A3 #7977BB #A1A0CF #C9C9E4

Accessibility & contrast

On white

4.06
#7977BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7977BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977BB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977BB#FFFFFF#000000##000000
##7977BB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BE
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#688490
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7977bb;
/* rgb */ color: rgb(121, 119, 187);
/* oklch */ color: oklch(60.0% 0.102 284.2);
Tailwind
colors: {
  custom: {
    50: '#a29ecf',
    500: '#7977bb',
    950: '#000000',
  },
}
SCSS
$custom: #7977bb;
$custom-light: #a29ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7977bb",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 241.765,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.10246,
    "h": 284.2
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#7977BB
secondary
#D3D4BA
accent
#C95EC6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7977BB

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

Preview Lab → · Contrast checker → · Palette generator →

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