#797FF8#797FF8

#797FF8 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.177 H 278.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#797FF8
RGBrgb(121, 127, 248)
HSLhsl(237, 90%, 72%)
HSVhsv(237, 51%, 97%)
CMYKcmyk(51.2%, 48.8%, 0%, 2.7%)
CIE-LABlab(58.06, 30.12, -61.47)
CIE-LCHlch(58.06, 68.45, 296.11°)
OKLaboklab(65.02% 0.025 -0.1752)
OKLCHoklch(65.02% 0.177 278.1)
XYZxyz(32.4125, 26.0190, 92.1030)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FF8 #F8F279
analogous
#79BFF8 #797FF8 #B279F8
triadic
#797FF8 #F8797F #7FF879
tetradic
#797FF8 #F879BF #F8F279 #79F8B2
square
#797FF8 #F879BF #F8F279 #79F8B2
split-complementary
#797FF8 #F8B279 #BFF879
monochromatic
#0C17EA #3F47F5 #797FF8 #B3B7FB #E2E3FD

Accessibility & contrast

On white

3.38
#797FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#797FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FF8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FF8#FFFFFF#000000##000000
##797FF81.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#3887F5
Tritanopia (blue-blind)
#439AB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #797ff8;
/* rgb */ color: rgb(121, 127, 248);
/* oklch */ color: oklch(65.0% 0.177 278.1);
Tailwind
colors: {
  custom: {
    50: '#a8a4fb',
    500: '#797ff8',
    950: '#000000',
  },
}
SCSS
$custom: #797ff8;
$custom-light: #a8a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#797ff8",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 237.165,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65015,
    "c": 0.17698,
    "h": 278.1
  },
  "luminance": 0.26021
}

Semantic roles & 50–950 ramp

primary
#797FF8
secondary
#F6F4D5
accent
#DB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #797FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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