#797CFD#797CFD

#797CFD is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.188 H 278.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#797CFD
RGBrgb(121, 124, 253)
HSLhsl(239, 97%, 73%)
HSVhsv(239, 52%, 99%)
CMYKcmyk(52.2%, 51%, 0%, 0.8%)
CIE-LABlab(57.63, 33.41, -64.91)
CIE-LCHlch(57.63, 73.01, 297.24°)
OKLaboklab(64.79% 0.0286 -0.1853)
OKLCHoklch(64.79% 0.188 278.8)
XYZxyz(32.8169, 25.5701, 96.1157)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CFD #FDFA79
analogous
#79BEFD #797CFD #B879FD
triadic
#797CFD #FD797C #7CFD79
tetradic
#797CFD #FD79BE #FDFA79 #79FDB8
square
#797CFD #FD79BE #FDFA79 #79FDB8
split-complementary
#797CFD #FDB879 #BEFD79
monochromatic
#0409F8 #3D41FC #797CFD #B5B7FE #E1E2FF

Accessibility & contrast

On white

3.43
#797CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#797CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CFD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CFD#FFFFFF#000000##000000
##797CFD1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#2685FA
Tritanopia (blue-blind)
#3F99B1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #797cfd;
/* rgb */ color: rgb(121, 124, 253);
/* oklch */ color: oklch(64.8% 0.188 278.8);
Tailwind
colors: {
  custom: {
    50: '#a8a2ff',
    500: '#797cfd',
    950: '#000000',
  },
}
SCSS
$custom: #797cfd;
$custom-light: #a8a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#797cfd",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 238.636,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.18755,
    "h": 278.8
  },
  "luminance": 0.25572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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