#797FFF#797FFF

#797FFF is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.5% C 0.186 H 277.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#797FFF
RGBrgb(121, 127, 255)
HSLhsl(237, 100%, 74%)
HSVhsv(237, 53%, 100%)
CMYKcmyk(52.5%, 50.2%, 0%, 0%)
CIE-LABlab(58.47, 32.25, -64.65)
CIE-LCHlch(58.47, 72.25, 296.51°)
OKLaboklab(65.46% 0.0256 -0.1846)
OKLCHoklch(65.46% 0.186 277.9)
XYZxyz(33.5189, 26.4616, 97.9297)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FFF #FFF979
analogous
#79C2FF #797FFF #B679FF
triadic
#797FFF #FF797F #7FFF79
tetradic
#797FFF #FF79C2 #FFF979 #79FFB6
square
#797FFF #FF79C2 #FFF979 #79FFB6
split-complementary
#797FFF #FFB679 #C2FF79
monochromatic
#000BFE #3C45FF #797FFF #B6B9FF #E0E2FF

Accessibility & contrast

On white

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

On black

6.29
#797FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FFF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FFF#FFFFFF#000000##000000
##797FFF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#2C87FC
Tritanopia (blue-blind)
#3C9CB3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #797fff;
/* rgb */ color: rgb(121, 127, 255);
/* oklch */ color: oklch(65.5% 0.186 277.9);
Tailwind
colors: {
  custom: {
    50: '#a8a4ff',
    500: '#797fff',
    950: '#000000',
  },
}
SCSS
$custom: #797fff;
$custom-light: #a8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#797fff",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 237.313,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65463,
    "c": 0.18634,
    "h": 277.9
  },
  "luminance": 0.26464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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