#797CF4#797CF4

#797CF4 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.2% C 0.176 H 279.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#797CF4
RGBrgb(121, 124, 244)
HSLhsl(239, 85%, 72%)
HSVhsv(239, 50%, 96%)
CMYKcmyk(50.4%, 49.2%, 0%, 4.3%)
CIE-LABlab(57.09, 30.69, -60.81)
CIE-LCHlch(57.09, 68.11, 296.78°)
OKLaboklab(64.21% 0.0279 -0.1733)
OKLCHoklch(64.21% 0.176 279.2)
XYZxyz(31.4169, 25.0101, 88.7424)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CF4 #F4F179
analogous
#79BAF4 #797CF4 #B479F4
triadic
#797CF4 #F4797C #7CF479
tetradic
#797CF4 #F479BA #F4F179 #79F4B4
square
#797CF4 #F479BA #F4F179 #79F4B4
split-complementary
#797CF4 #F4B479 #BAF479
monochromatic
#1217E0 #4045EF #797CF4 #B2B3F9 #E3E3FD

Accessibility & contrast

On white

3.50
#797CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#797CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CF4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CF4#FFFFFF#000000##000000
##797CF41.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438EF8
Deuteranopia (green-blind)
#3684F1
Tritanopia (blue-blind)
#4796AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #797cf4;
/* rgb */ color: rgb(121, 124, 244);
/* oklch */ color: oklch(64.2% 0.176 279.2);
Tailwind
colors: {
  custom: {
    50: '#a7a1f8',
    500: '#797cf4',
    950: '#000000',
  },
}
SCSS
$custom: #797cf4;
$custom-light: #a7a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#797cf4",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 238.537,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64208,
    "c": 0.17552,
    "h": 279.2
  },
  "luminance": 0.25012
}

Semantic roles & 50–950 ramp

primary
#797CF4
secondary
#F4F3D5
accent
#DC04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #797CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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