#797FFE#797FFE

#797FFE is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.185 H 277.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#797FFE
RGBrgb(121, 127, 254)
HSLhsl(237, 99%, 74%)
HSVhsv(237, 52%, 100%)
CMYKcmyk(52.4%, 50%, 0%, 0.4%)
CIE-LABlab(58.41, 31.95, -64.20)
CIE-LCHlch(58.41, 71.71, 296.45°)
OKLaboklab(65.4% 0.0255 -0.1832)
OKLCHoklch(65.4% 0.185 277.9)
XYZxyz(33.3583, 26.3974, 97.0841)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FFE #FEF879
analogous
#79C1FE #797FFE #B579FE
triadic
#797FFE #FE797F #7FFE79
tetradic
#797FFE #FE79C1 #FEF879 #79FEB5
square
#797FFE #FE79C1 #FEF879 #79FEB5
split-complementary
#797FFE #FEB579 #C1FE79
monochromatic
#020DFB #3C45FE #797FFE #B6B9FE #E1E2FF

Accessibility & contrast

On white

3.34
#797FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#797FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FFE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FFE#FFFFFF#000000##000000
##797FFE1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#2E87FB
Tritanopia (blue-blind)
#3D9BB3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #797ffe;
/* rgb */ color: rgb(121, 127, 254);
/* oklch */ color: oklch(65.4% 0.185 277.9);
Tailwind
colors: {
  custom: {
    50: '#a8a4ff',
    500: '#797ffe',
    950: '#000000',
  },
}
SCSS
$custom: #797ffe;
$custom-light: #a8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#797ffe",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 237.293,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.185,
    "h": 277.9
  },
  "luminance": 0.26399
}

Semantic roles & 50–950 ramp

primary
#797FFE
secondary
#F7F5D4
accent
#DB00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #797FFE

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

Preview Lab → · Contrast checker → · Palette generator →

#797FFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva