#797FF3#797FF3

#797FF3 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.7% C 0.170 H 278.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#797FF3
RGBrgb(121, 127, 243)
HSLhsl(237, 84%, 71%)
HSVhsv(237, 50%, 95%)
CMYKcmyk(50.2%, 47.7%, 0%, 4.7%)
CIE-LABlab(57.76, 28.61, -59.17)
CIE-LCHlch(57.76, 65.72, 295.80°)
OKLaboklab(64.7% 0.0245 -0.1684)
OKLCHoklch(64.7% 0.17 278.3)
XYZxyz(31.6472, 25.7129, 88.0721)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FF3 #F3ED79
analogous
#79BCF3 #797FF3 #B079F3
triadic
#797FF3 #F3797F #7FF379
tetradic
#797FF3 #F379BC #F3ED79 #79F3B0
square
#797FF3 #F379BC #F3ED79 #79F3B0
split-complementary
#797FF3 #F3B079 #BCF379
monochromatic
#141EDE #4149EE #797FF3 #B1B5F8 #E3E4FC

Accessibility & contrast

On white

3.42
#797FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#797FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FF3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FF3#FFFFFF#000000##000000
##797FF31.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A90F7
Deuteranopia (green-blind)
#3E86F0
Tritanopia (blue-blind)
#4798AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #797ff3;
/* rgb */ color: rgb(121, 127, 243);
/* oklch */ color: oklch(64.7% 0.170 278.3);
Tailwind
colors: {
  custom: {
    50: '#a7a4f8',
    500: '#797ff3',
    950: '#000000',
  },
}
SCSS
$custom: #797ff3;
$custom-light: #a7a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#797ff3",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 237.049,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64701,
    "c": 0.17021,
    "h": 278.3
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#797FF3
secondary
#F4F2D4
accent
#D506E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #797FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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