#7977BA#7977BA

#7977BA is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.9% C 0.101 H 284.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7977BA
RGBrgb(121, 119, 186)
HSLhsl(242, 33%, 60%)
HSVhsv(242, 36%, 73%)
CMYKcmyk(34.9%, 36%, 0%, 27.1%)
CIE-LABlab(52.73, 16.85, -35.00)
CIE-LCHlch(52.73, 38.84, 295.71°)
OKLaboklab(59.9% 0.0249 -0.0979)
OKLCHoklch(59.9% 0.101 284.3)
XYZxyz(23.3425, 20.8031, 49.2304)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977BA #B8BA77
analogous
#7797BA #7977BA #9B77BA
triadic
#7977BA #BA7977 #77BA79
tetradic
#7977BA #BA7797 #B8BA77 #77BA9B
square
#7977BA #BA7797 #B8BA77 #77BA9B
split-complementary
#7977BA #BA9B77 #97BA77
monochromatic
#3F3D79 #5452A2 #7977BA #A1A0CF #C9C8E3

Accessibility & contrast

On white

4.07
#7977BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7977BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977BA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977BA#FFFFFF#000000##000000
##7977BA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7977ba;
/* rgb */ color: rgb(121, 119, 186);
/* oklch */ color: oklch(59.9% 0.101 284.3);
Tailwind
colors: {
  custom: {
    50: '#a29ecf',
    500: '#7977ba',
    950: '#000000',
  },
}
SCSS
$custom: #7977ba;
$custom-light: #a29ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7977ba",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 241.791,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.101,
    "h": 284.3
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#7977BA
secondary
#D3D3B9
accent
#C95FC6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7977BA

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

Preview Lab → · Contrast checker → · Palette generator →

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