#797CFF#797CFF

#797CFF is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.9% C 0.190 H 278.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#797CFF
RGBrgb(121, 124, 255)
HSLhsl(239, 100%, 74%)
HSVhsv(239, 53%, 100%)
CMYKcmyk(52.5%, 51.4%, 0%, 0%)
CIE-LABlab(57.75, 34.02, -65.82)
CIE-LCHlch(57.75, 74.09, 297.34°)
OKLaboklab(64.92% 0.0288 -0.188)
OKLCHoklch(64.92% 0.19 278.7)
XYZxyz(33.1372, 25.6982, 97.8025)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CFF #FFFC79
analogous
#79BFFF #797CFF #B979FF
triadic
#797CFF #FF797C #7CFF79
tetradic
#797CFF #FF79BF #FFFC79 #79FFB9
square
#797CFF #FF79BF #FFFC79 #79FFB9
split-complementary
#797CFF #FFB979 #BFFF79
monochromatic
#0006FE #3C40FF #797CFF #B6B8FF #E0E1FF

Accessibility & contrast

On white

3.42
#797CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#797CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CFF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CFF#FFFFFF#000000##000000
##797CFF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3690FF
Deuteranopia (green-blind)
#2286FC
Tritanopia (blue-blind)
#3C99B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #797cff;
/* rgb */ color: rgb(121, 124, 255);
/* oklch */ color: oklch(64.9% 0.190 278.7);
Tailwind
colors: {
  custom: {
    50: '#a9a2ff',
    500: '#797cff',
    950: '#000000',
  },
}
SCSS
$custom: #797cff;
$custom-light: #a9a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#797cff",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 238.657,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.1902,
    "h": 278.7
  },
  "luminance": 0.257
}

Semantic roles & 50–950 ramp

primary
#797CFF
secondary
#F7F7D4
accent
#E000E6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #797CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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