#797FFD#797FFD

#797FFD is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.184 H 278.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#797FFD
RGBrgb(121, 127, 253)
HSLhsl(237, 97%, 73%)
HSVhsv(237, 52%, 99%)
CMYKcmyk(52.2%, 49.8%, 0%, 0.8%)
CIE-LABlab(58.35, 31.64, -63.75)
CIE-LCHlch(58.35, 71.17, 296.40°)
OKLaboklab(65.33% 0.0255 -0.1819)
OKLCHoklch(65.33% 0.184 278)
XYZxyz(33.1986, 26.3335, 96.2430)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FFD #FDF779
analogous
#79C1FD #797FFD #B579FD
triadic
#797FFD #FD797F #7FFD79
tetradic
#797FFD #FD79C1 #FDF779 #79FDB5
square
#797FFD #FD79C1 #FDF779 #79FDB5
split-complementary
#797FFD #FDB579 #C1FD79
monochromatic
#040FF8 #3D45FC #797FFD #B5B9FE #E1E2FF

Accessibility & contrast

On white

3.35
#797FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#797FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FFD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FFD#FFFFFF#000000##000000
##797FFD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#2F87FA
Tritanopia (blue-blind)
#3E9BB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #797ffd;
/* rgb */ color: rgb(121, 127, 253);
/* oklch */ color: oklch(65.3% 0.184 278.0);
Tailwind
colors: {
  custom: {
    50: '#a8a4ff',
    500: '#797ffd',
    950: '#000000',
  },
}
SCSS
$custom: #797ffd;
$custom-light: #a8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#797ffd",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 237.273,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65334,
    "c": 0.18367,
    "h": 278
  },
  "luminance": 0.26336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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