#7977AF#7977AF

#7977AF is a mid, moderate blue. Relative luminance 0.204; OKLCH L 59.4% C 0.085 H 285.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7977AF
RGBrgb(121, 119, 175)
HSLhsl(242, 26%, 58%)
HSVhsv(242, 32%, 69%)
CMYKcmyk(30.9%, 32%, 0%, 31.4%)
CIE-LABlab(52.23, 13.89, -29.44)
CIE-LCHlch(52.23, 32.55, 295.26°)
OKLaboklab(59.35% 0.0221 -0.0818)
OKLCHoklch(59.35% 0.085 285.1)
XYZxyz(22.2178, 20.3532, 43.3071)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977AF #ADAF77
analogous
#7791AF #7977AF #9577AF
triadic
#7977AF #AF7977 #77AF79
tetradic
#7977AF #AF7791 #ADAF77 #77AF95
square
#7977AF #AF7791 #ADAF77 #77AF95
split-complementary
#7977AF #AF9577 #91AF77
monochromatic
#41406C #585693 #7977AF #9F9EC6 #C5C4DC

Accessibility & contrast

On white

4.14
#7977AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7977AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977AF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977AF#FFFFFF#000000##000000
##7977AF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#677EB1
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#6C818B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7977af;
/* rgb */ color: rgb(121, 119, 175);
/* oklch */ color: oklch(59.4% 0.085 285.1);
Tailwind
colors: {
  custom: {
    50: '#a19ec7',
    500: '#7977af',
    950: '#000000',
  },
}
SCSS
$custom: #7977af;
$custom-light: #a19ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7977af",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 175
  },
  "hsl": {
    "h": 242.143,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.08478,
    "h": 285.1
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#7977AF
secondary
#CBCCB6
accent
#C265BF
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7977AF

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

Preview Lab → · Contrast checker → · Palette generator →

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