#797CFA#797CFA

#797CFA is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.6% C 0.184 H 278.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#797CFA
RGBrgb(121, 124, 250)
HSLhsl(239, 93%, 73%)
HSVhsv(239, 52%, 98%)
CMYKcmyk(51.6%, 50.4%, 0%, 2%)
CIE-LABlab(57.44, 32.50, -63.55)
CIE-LCHlch(57.44, 71.38, 297.09°)
OKLaboklab(64.59% 0.0284 -0.1813)
OKLCHoklch(64.59% 0.184 278.9)
XYZxyz(32.3427, 25.3804, 93.6186)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CFA #FAF779
analogous
#79BCFA #797CFA #B779FA
triadic
#797CFA #FA797C #7CFA79
tetradic
#797CFA #FA79BC #FAF779 #79FAB7
square
#797CFA #FA79BC #FAF779 #79FAB7
split-complementary
#797CFA #FAB779 #BCFA79
monochromatic
#090EF0 #3E42F8 #797CFA #B4B6FC #E2E2FE

Accessibility & contrast

On white

3.46
#797CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#797CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CFA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CFA#FFFFFF#000000##000000
##797CFA1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFE
Deuteranopia (green-blind)
#2D85F7
Tritanopia (blue-blind)
#4298AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #797cfa;
/* rgb */ color: rgb(121, 124, 250);
/* oklch */ color: oklch(64.6% 0.184 278.9);
Tailwind
colors: {
  custom: {
    50: '#a8a2fd',
    500: '#797cfa',
    950: '#000000',
  },
}
SCSS
$custom: #797cfa;
$custom-light: #a8a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#797cfa",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 238.605,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64593,
    "c": 0.18356,
    "h": 278.9
  },
  "luminance": 0.25382
}

Semantic roles & 50–950 ramp

primary
#797CFA
secondary
#F6F5D5
accent
#E000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F18
muted
#7F7E86

Preview Lab

Preview with #797CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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