#7977EB#7977EB

#7977EB is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.7% C 0.170 H 281.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7977EB
RGBrgb(121, 119, 235)
HSLhsl(241, 74%, 69%)
HSVhsv(241, 49%, 92%)
CMYKcmyk(48.5%, 49.4%, 0%, 7.8%)
CIE-LABlab(55.33, 30.95, -58.61)
CIE-LCHlch(55.33, 66.28, 297.84°)
OKLaboklab(62.72% 0.0327 -0.1669)
OKLCHoklch(62.72% 0.17 281.1)
XYZxyz(29.4728, 23.2552, 81.5169)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977EB #E9EB77
analogous
#77AFEB #7977EB #B377EB
triadic
#7977EB #EB7977 #77EB79
tetradic
#7977EB #EB77AF #E9EB77 #77EBB3
square
#7977EB #EB77AF #E9EB77 #77EBB3
split-complementary
#7977EB #EBB377 #AFEB77
monochromatic
#211ECA #4442E3 #7977EB #AEACF3 #E2E2FB

Accessibility & contrast

On white

3.72
#7977EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7977EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977EB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977EB#FFFFFF#000000##000000
##7977EB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#3880E8
Tritanopia (blue-blind)
#4F90A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7977eb;
/* rgb */ color: rgb(121, 119, 235);
/* oklch */ color: oklch(62.7% 0.170 281.1);
Tailwind
colors: {
  custom: {
    50: '#a69ef2',
    500: '#7977eb',
    950: '#000000',
  },
}
SCSS
$custom: #7977eb;
$custom-light: #a69ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7977eb",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 241.034,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62719,
    "c": 0.17004,
    "h": 281.1
  },
  "luminance": 0.23257
}

Semantic roles & 50–950 ramp

primary
#7977EB
secondary
#EFF0CE
accent
#D60FD3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7977EB

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

Preview Lab → · Contrast checker → · Palette generator →

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