#7797F7#7797F7

#7797F7 is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.5% C 0.146 H 268.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7797F7
RGBrgb(119, 151, 247)
HSLhsl(225, 89%, 72%)
HSVhsv(225, 52%, 97%)
CMYKcmyk(51.8%, 38.9%, 0%, 3.1%)
CIE-LABlab(63.97, 15.23, -51.49)
CIE-LCHlch(63.97, 53.69, 286.47°)
OKLaboklab(69.48% -0.0038 -0.1458)
OKLCHoklch(69.48% 0.146 268.5)
XYZxyz(35.4573, 32.7681, 92.4341)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797F7 #F7D777
analogous
#77D7F7 #7797F7 #9777F7
triadic
#7797F7 #F77797 #97F777
tetradic
#7797F7 #F777D7 #F7D777 #77F797
square
#7797F7 #F777D7 #F7D777 #77F797
split-complementary
#7797F7 #F79777 #D7F777
monochromatic
#0E44E6 #3D6BF4 #7797F7 #B1C3FA #E2E9FD

Accessibility & contrast

On white

2.78
#7797F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7797F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797F7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797F7#FFFFFF#000000##000000
##7797F71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#39ACBB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7797f7;
/* rgb */ color: rgb(119, 151, 247);
/* oklch */ color: oklch(69.5% 0.146 268.5);
Tailwind
colors: {
  custom: {
    50: '#a6b5fa',
    500: '#7797f7',
    950: '#000000',
  },
}
SCSS
$custom: #7797f7;
$custom-light: #a6b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7797f7",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 225,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69478,
    "c": 0.14585,
    "h": 268.5
  },
  "luminance": 0.32771
}

Semantic roles & 50–950 ramp

primary
#7797F7
secondary
#F5EDD5
accent
#AC00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7797F7

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

Preview Lab → · Contrast checker → · Palette generator →

#7797F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva