#797AED#797AED

#797AED is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.4% C 0.169 H 280.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#797AED
RGBrgb(121, 122, 237)
HSLhsl(239, 76%, 70%)
HSVhsv(239, 49%, 93%)
CMYKcmyk(48.9%, 48.5%, 0%, 7.1%)
CIE-LABlab(56.18, 29.77, -58.37)
CIE-LCHlch(56.18, 65.52, 297.02°)
OKLaboklab(63.4% 0.0295 -0.1661)
OKLCHoklch(63.4% 0.169 280.1)
XYZxyz(30.1261, 24.0968, 83.1681)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797AED #EDEC79
analogous
#79B4ED #797AED #B279ED
triadic
#797AED #ED797A #7AED79
tetradic
#797AED #ED79B4 #EDEC79 #79EDB2
square
#797AED #ED79B4 #EDEC79 #79EDB2
split-complementary
#797AED #EDB279 #B4ED79
monochromatic
#1C1DD0 #4344E6 #797AED #AFB0F4 #E4E4FB

Accessibility & contrast

On white

3.61
#797AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#797AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797AED
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797AED#FFFFFF#000000##000000
##797AED1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF1
Deuteranopia (green-blind)
#3C82EA
Tritanopia (blue-blind)
#4D93A8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797aed;
/* rgb */ color: rgb(121, 122, 237);
/* oklch */ color: oklch(63.4% 0.169 280.1);
Tailwind
colors: {
  custom: {
    50: '#a6a0f3',
    500: '#797aed',
    950: '#000000',
  },
}
SCSS
$custom: #797aed;
$custom-light: #a6a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#797aed",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 239.483,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.16872,
    "h": 280.1
  },
  "luminance": 0.24098
}

Semantic roles & 50–950 ramp

primary
#797AED
secondary
#F1F1D1
accent
#D70DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #797AED

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

Preview Lab → · Contrast checker → · Palette generator →

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