#797FF9#797FF9

#797FF9 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.178 H 278.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#797FF9
RGBrgb(121, 127, 249)
HSLhsl(237, 91%, 73%)
HSVhsv(237, 51%, 98%)
CMYKcmyk(51.4%, 49%, 0%, 2.4%)
CIE-LABlab(58.11, 30.42, -61.92)
CIE-LCHlch(58.11, 68.99, 296.17°)
OKLaboklab(65.08% 0.0251 -0.1765)
OKLCHoklch(65.08% 0.178 278.1)
XYZxyz(32.5681, 26.0813, 92.9222)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FF9 #F9F379
analogous
#79BFF9 #797FF9 #B379F9
triadic
#797FF9 #F9797F #7FF979
tetradic
#797FF9 #F979BF #F9F379 #79F9B3
square
#797FF9 #F979BF #F9F379 #79F9B3
split-complementary
#797FF9 #F9B379 #BFF979
monochromatic
#0B15ED #3E47F6 #797FF9 #B4B7FC #E2E3FE

Accessibility & contrast

On white

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

On black

6.22
#797FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FF9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FF9#FFFFFF#000000##000000
##797FF91.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FD
Deuteranopia (green-blind)
#3687F6
Tritanopia (blue-blind)
#429AB0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #797ff9;
/* rgb */ color: rgb(121, 127, 249);
/* oklch */ color: oklch(65.1% 0.178 278.1);
Tailwind
colors: {
  custom: {
    50: '#a8a4fc',
    500: '#797ff9',
    950: '#000000',
  },
}
SCSS
$custom: #797ff9;
$custom-light: #a8a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#797ff9",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 237.188,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.17832,
    "h": 278.1
  },
  "luminance": 0.26083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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