#797DFF#797DFF

#797DFF is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.1% C 0.189 H 278.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#797DFF
RGBrgb(121, 125, 255)
HSLhsl(238, 100%, 74%)
HSVhsv(238, 53%, 100%)
CMYKcmyk(52.5%, 51%, 0%, 0%)
CIE-LABlab(57.99, 33.43, -65.43)
CIE-LCHlch(57.99, 73.48, 297.06°)
OKLaboklab(65.1% 0.0277 -0.1869)
OKLCHoklch(65.1% 0.189 278.4)
XYZxyz(33.2631, 25.9501, 97.8445)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DFF #FFFB79
analogous
#79C0FF #797DFF #B879FF
triadic
#797DFF #FF797D #7DFF79
tetradic
#797DFF #FF79C0 #FFFB79 #79FFB8
square
#797DFF #FF79C0 #FFFB79 #79FFB8
split-complementary
#797DFF #FFB879 #C0FF79
monochromatic
#0008FE #3C42FF #797DFF #B6B8FF #E0E1FF

Accessibility & contrast

On white

3.39
#797DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#797DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DFF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DFF#FFFFFF#000000##000000
##797DFF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3891FF
Deuteranopia (green-blind)
#2586FC
Tritanopia (blue-blind)
#3C9AB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #797dff;
/* rgb */ color: rgb(121, 125, 255);
/* oklch */ color: oklch(65.1% 0.189 278.4);
Tailwind
colors: {
  custom: {
    50: '#a9a2ff',
    500: '#797dff',
    950: '#000000',
  },
}
SCSS
$custom: #797dff;
$custom-light: #a9a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#797dff",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 238.209,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65101,
    "c": 0.18891,
    "h": 278.4
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#797DFF
secondary
#F7F6D4
accent
#DF00E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #797DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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