#7977DF#7977DF

#7977DF is a mid, vivid blue. Relative luminance 0.226; OKLCH L 62.0% C 0.154 H 281.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7977DF
RGBrgb(121, 119, 223)
HSLhsl(241, 62%, 67%)
HSVhsv(241, 47%, 87%)
CMYKcmyk(45.7%, 46.6%, 0%, 12.5%)
CIE-LABlab(54.64, 27.40, -53.00)
CIE-LCHlch(54.64, 59.66, 297.33°)
OKLaboklab(61.97% 0.0314 -0.1504)
OKLCHoklch(61.97% 0.154 281.8)
XYZxyz(27.7973, 22.5850, 72.6924)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977DF #DDDF77
analogous
#77A9DF #7977DF #AD77DF
triadic
#7977DF #DF7977 #77DF79
tetradic
#7977DF #DF77A9 #DDDF77 #77DFAD
square
#7977DF #DF77A9 #DDDF77 #77DFAD
split-complementary
#7977DF #DFAD77 #A9DF77
monochromatic
#2C2AB2 #4845D3 #7977DF #AAA9EB #DBDAF6

Accessibility & contrast

On white

3.81
#7977DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7977DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977DF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977DF#FFFFFF#000000##000000
##7977DF1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E3
Deuteranopia (green-blind)
#467FDD
Tritanopia (blue-blind)
#568DA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7977df;
/* rgb */ color: rgb(121, 119, 223);
/* oklch */ color: oklch(62.0% 0.154 281.8);
Tailwind
colors: {
  custom: {
    50: '#a59ee9',
    500: '#7977df',
    950: '#000000',
  },
}
SCSS
$custom: #7977df;
$custom-light: #a59ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7977df",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 241.154,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61974,
    "c": 0.15365,
    "h": 281.8
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#7977DF
secondary
#E9E9C8
accent
#CA1CC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7977DF

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

Preview Lab → · Contrast checker → · Palette generator →

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