#7797FA#7797FA

#7797FA is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.6% C 0.150 H 268.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7797FA
RGBrgb(119, 151, 250)
HSLhsl(225, 93%, 72%)
HSVhsv(225, 52%, 98%)
CMYKcmyk(52.4%, 39.6%, 0%, 2%)
CIE-LABlab(64.12, 16.15, -52.89)
CIE-LCHlch(64.12, 55.30, 286.97°)
OKLaboklab(69.64% -0.0032 -0.1499)
OKLCHoklch(69.64% 0.15 268.8)
XYZxyz(35.9240, 32.9548, 94.8918)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797FA #FADA77
analogous
#77D8FA #7797FA #9977FA
triadic
#7797FA #FA7797 #97FA77
tetradic
#7797FA #FA77D8 #FADA77 #77FA99
square
#7797FA #FA77D8 #FADA77 #77FA99
split-complementary
#7797FA #FA9977 #D8FA77
monochromatic
#0941EE #3C6AF8 #7797FA #B2C4FC #E1E8FE

Accessibility & contrast

On white

2.77
#7797FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#7797FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797FA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797FA#FFFFFF#000000##000000
##7797FA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#36ACBC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7797fa;
/* rgb */ color: rgb(119, 151, 250);
/* oklch */ color: oklch(69.6% 0.150 268.8);
Tailwind
colors: {
  custom: {
    50: '#a6b5fc',
    500: '#7797fa',
    950: '#000000',
  },
}
SCSS
$custom: #7797fa;
$custom-light: #a6b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7797fa",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 225.344,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69644,
    "c": 0.14993,
    "h": 268.8
  },
  "luminance": 0.32957
}

Semantic roles & 50–950 ramp

primary
#7797FA
secondary
#F6EED5
accent
#AD00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7797FA

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

Preview Lab → · Contrast checker → · Palette generator →

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